diff --git a/composer.json b/composer.json index 7356ec371..543f9e697 100644 --- a/composer.json +++ b/composer.json @@ -75,7 +75,7 @@ "phpunit/phpunit": ">= 7.5", "psalm/plugin-phpunit": "^0.18.4", "psalm/plugin-symfony": "^4.0.2", - "rector/rector": "^0.15.23", + "rector/rector": "^0.17.7", "symfony/debug-bundle": "^5.1", "symfony/dotenv": "^4.4", "symfony/maker-bundle": "^1.20", diff --git a/rector.php b/rector.php index e631afce7..7fda8699d 100644 --- a/rector.php +++ b/rector.php @@ -38,7 +38,8 @@ return static function (RectorConfig $rectorConfig): void { // we need to discuss this: are we going to have FALSE in tests instead of an error ? \Rector\Php71\Rector\FuncCall\CountOnNullRector::class, - // must merge MR500 and review a typing of "ArrayCollection" in entities - \Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector::class, + // we must adapt service definition + \Rector\Symfony\Symfony28\Rector\MethodCall\GetToConstructorInjectionRector::class, + \Rector\Symfony\Symfony34\Rector\Closure\ContainerGetNameToTypeInTestsRector::class, ]); };