Update Rector skip configuration

Replaced Symfony Rector rules with Doctrine rule in the skip list due to a known issue. Refer to the linked GitHub issue for more details on the bug.
This commit is contained in:
Julien Fastré 2024-08-28 12:21:43 +02:00
parent 6b4e1ed2d3
commit b57824fc7e
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -69,9 +69,8 @@ return static function (RectorConfig $rectorConfig): void {
// skip some path... // skip some path...
$rectorConfig->skip([ $rectorConfig->skip([
// we must adapt service definition // waiting for fixing this bug: https://github.com/rectorphp/rector-doctrine/issues/342
\Rector\Symfony\Symfony28\Rector\MethodCall\GetToConstructorInjectionRector::class, \Rector\Doctrine\CodeQuality\Rector\Property\ImproveDoctrineCollectionDocTypeInEntityRector::class,
\Rector\Symfony\Symfony34\Rector\Closure\ContainerGetNameToTypeInTestsRector::class,
]); ]);
$rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [ $rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [