From 6abf48f2c8a3a1b23ef5fcc11d5cc4fc5897c64d Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 5 Nov 2024 21:57:05 +0700 Subject: [PATCH] skip NarrowUnusedSetUpDefinedPropertyRector as still buggy Signed-off-by: Abdul Malik Ikhsan --- rector.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rector.php b/rector.php index 8185f4a71..d9e3e5d70 100644 --- a/rector.php +++ b/rector.php @@ -45,6 +45,7 @@ use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector; use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector; use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\AnnotationWithValueToAttributeRector; +use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector; use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector; use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; @@ -131,6 +132,9 @@ // To check old Email Config file __DIR__ . '/src/Commands/Setup.php', ], + + // buggy with default value + NarrowUnusedSetUpDefinedPropertyRector::class, ]); // auto import fully qualified class names