diff --git a/composer.json b/composer.json index 8d7974c25..3e12b72fa 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,7 @@ "phpunit/phpunit": "^9.5", "psalm/plugin-phpunit": "^0.18", "psalm/plugin-symfony": "^5.0", - "rector/rector": "^0.18", + "rector/rector": "^0.19", "sonata-project/admin-bundle": "^4.20", "sonata-project/block-bundle": "^4.11 || ^5.0", "sonata-project/doctrine-orm-admin-bundle": "^4.0", diff --git a/src/Action/LoginAction.php b/src/Action/LoginAction.php index dc5aed5a6..9307aa2c1 100644 --- a/src/Action/LoginAction.php +++ b/src/Action/LoginAction.php @@ -46,8 +46,8 @@ public function __invoke(Request $request): Response /** * TODO: Use instanceof FlashBagAwareSessionInterface when dropping Symfony 5 support. * - * @phpstan-ignore-next-line * @psalm-suppress UndefinedInterfaceMethod + * @phpstan-ignore-next-line */ $request->getSession()->getFlashBag()->add( 'sonata_user_error', diff --git a/src/Action/ResetAction.php b/src/Action/ResetAction.php index d6293c8d1..392c38b73 100644 --- a/src/Action/ResetAction.php +++ b/src/Action/ResetAction.php @@ -70,8 +70,8 @@ public function __invoke(Request $request, string $token): Response /** * TODO: Use instanceof FlashBagAwareSessionInterface when dropping Symfony 5 support. * - * @phpstan-ignore-next-line * @psalm-suppress UndefinedInterfaceMethod + * @phpstan-ignore-next-line */ $request->getSession()->getFlashBag()->add( 'success',