From 99b7b2ec8802da53377d88bfa5efc492916d4ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 12 Dec 2023 17:17:15 +0100 Subject: [PATCH] upgrade rector rules and apply them --- rector.php | 2 +- .../Tests/Controller/PersonControllerCreateTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rector.php b/rector.php index 96bd47710..72a7cb9f5 100644 --- a/rector.php +++ b/rector.php @@ -32,7 +32,7 @@ return static function (RectorConfig $rectorConfig): void { //define sets of rules $rectorConfig->sets([ LevelSetList::UP_TO_PHP_82, - \Rector\Symfony\Set\SymfonyLevelSetList::UP_TO_SYMFONY_44, + \Rector\Symfony\Set\SymfonyLevelSetList::UP_TO_SYMFONY_50, \Rector\Symfony\Set\SymfonySetList::SYMFONY_50_TYPES, \Rector\Doctrine\Set\DoctrineSetList::DOCTRINE_CODE_QUALITY, \Rector\PHPUnit\Set\PHPUnitLevelSetList::UP_TO_PHPUNIT_90, diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php index 572374bc1..ed3d44120 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php @@ -134,7 +134,7 @@ final class PersonControllerCreateTest extends WebTestCase return $form; } - public function testReviewExistingDetectionInversedLastNameWithFirstName() + public function testReviewExistingDetectionInversedLastNameWithFirstName(): never { $this->markTestSkipped(); $client = $this->getClientAuthenticated();