From d5115b37187fad8030f7921285ac9947fc4b6fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 14 Feb 2024 11:10:31 +0100 Subject: [PATCH] upgrade rector and adapt list --- composer.json | 2 +- rector.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 0aa12badf..a000d5b3c 100644 --- a/composer.json +++ b/composer.json @@ -92,7 +92,7 @@ "phpstan/phpstan-deprecation-rules": "^1.1", "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": ">= 7.5", - "rector/rector": "^0.19.0", + "rector/rector": "^1.0.0", "symfony/debug-bundle": "^5.4", "symfony/dotenv": "^5.4", "symfony/maker-bundle": "^1.20", diff --git a/rector.php b/rector.php index 6b7e1d241..ae5c97531 100644 --- a/rector.php +++ b/rector.php @@ -37,7 +37,6 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ LevelSetList::UP_TO_PHP_82, \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, ]);