Skip to content

Commit

Permalink
Merge pull request #2608 from tarlepp/chore(deps)/dependency-update
Browse files Browse the repository at this point in the history
Chore(deps) - Dependency update
  • Loading branch information
tarlepp authored Jan 13, 2024
2 parents 7275393 + ab49225 commit 41a3824
Show file tree
Hide file tree
Showing 22 changed files with 273 additions and 294 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"gedmo/doctrine-extensions": "3.14.0",
"lexik/jwt-authentication-bundle": "2.20.3",
"mark-gerarts/automapper-plus-bundle": "1.4.1",
"matomo/device-detector": "6.2.0",
"matomo/device-detector": "6.2.1",
"matthiasnoback/symfony-console-form": "5.3.2",
"nelmio/api-doc-bundle": "4.15.1",
"nelmio/api-doc-bundle": "4.16.2",
"nelmio/cors-bundle": "2.4.0",
"phpdocumentor/reflection-docblock": "5.3.0",
"ramsey/uuid-doctrine": "2.0.0",
Expand All @@ -44,7 +44,7 @@
"symfony/console": "6.4.2",
"symfony/dotenv": "6.4.2",
"symfony/expression-language": "6.4.2",
"symfony/flex": "2.4.2",
"symfony/flex": "2.4.3",
"symfony/form": "6.4.1",
"symfony/framework-bundle": "6.4.2",
"symfony/monolog-bundle": "3.10.0",
Expand Down
78 changes: 40 additions & 38 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions src/Rest/ResponseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,8 @@ public function handleFormError(FormInterface $form): void
{
$errors = [];

/**
* @phpstan-ignore-next-line
*
* @var FormError $error
*/
foreach ($form->getErrors(true) as $error) {
/** @var FormError $error */
foreach ($form->getErrors(true) as $error) { // @phpstan-ignore-line
$name = $error->getOrigin()?->getName() ?? '';

$errors[] = sprintf(
Expand Down
16 changes: 4 additions & 12 deletions tests/Integration/Doctrine/DBAL/Types/UTCDateTimeTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,8 @@ public function testThatConvertToDatabaseValueCreatesTimeZoneInstanceIfItIsNull(

$type->convertToDatabaseValue($dateInput, $platform);

/**
* @phpstan-ignore-next-line
*
* @var DateTimeZone $property
*/
$property = PhpUnitUtil::getProperty('utc', $type);
/** @var DateTimeZone $property */
$property = PhpUnitUtil::getProperty('utc', $type); // @phpstan-ignore-line

self::assertSame('UTC', $property->getName());
}
Expand Down Expand Up @@ -107,12 +103,8 @@ public function testThatConvertToPHPValueCreatesTimeZoneInstanceIfItIsNull(): vo

$type->convertToPHPValue('1981-04-07 10:00:00', $platform);

/**
* @phpstan-ignore-next-line
*
* @var DateTimeZone $property
*/
$property = PhpUnitUtil::getProperty('utc', $type);
/** @var DateTimeZone $property */
$property = PhpUnitUtil::getProperty('utc', $type); // @phpstan-ignore-line

self::assertSame('UTC', $property->getName());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ public function testListenerPreUpdateMethodWorksAsExpected(): void
);
}


/**
* @throws Throwable
*
Expand Down
8 changes: 2 additions & 6 deletions tests/Integration/EventSubscriber/BodySubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,8 @@ public function testThatWithEmptyBodyReplaceIsNotCalled(): void
->expects(self::never())
->method('replace');

/**
* @phpstan-ignore-next-line
*
* @var InputBag $parameterBag
*/
$request->request = $parameterBag;
/** @var InputBag $parameterBag */
$request->request = $parameterBag; // @phpstan-ignore-line

$event = new RequestEvent(self::$kernel, $request, HttpKernelInterface::MAIN_REQUEST);

Expand Down
4 changes: 1 addition & 3 deletions tests/Integration/Resource/LogLoginFailureResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ public function testThatResetMethodCallsExpectedRepositoryMethod(): void
->willReturn(0);

/**
* @phpstan-ignore-next-line
*
* @var LogLoginFailureRepository $repository
*/
(new LogLoginFailureResource($repository))->reset($user);
(new LogLoginFailureResource($repository))->reset($user); // @phpstan-ignore-line
}
}
Loading

0 comments on commit 41a3824

Please sign in to comment.