update rector and adapt rules

This commit is contained in:
2023-07-28 02:39:46 +02:00
parent c20f65eebb
commit 157cdf6dfc
2 changed files with 4 additions and 3 deletions

View File

@@ -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,
]);
};