From b57824fc7e81c08fc6c41500887c9c38585d0f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 28 Aug 2024 12:21:43 +0200 Subject: [PATCH] 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. --- rector.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rector.php b/rector.php index 4b38affb3..126c814e9 100644 --- a/rector.php +++ b/rector.php @@ -69,9 +69,8 @@ return static function (RectorConfig $rectorConfig): void { // skip some path... $rectorConfig->skip([ - // we must adapt service definition - \Rector\Symfony\Symfony28\Rector\MethodCall\GetToConstructorInjectionRector::class, - \Rector\Symfony\Symfony34\Rector\Closure\ContainerGetNameToTypeInTestsRector::class, + // waiting for fixing this bug: https://github.com/rectorphp/rector-doctrine/issues/342 + \Rector\Doctrine\CodeQuality\Rector\Property\ImproveDoctrineCollectionDocTypeInEntityRector::class, ]); $rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [