Skip to content

Commit e63774d

Browse files
committed
skip NarrowUnusedSetUpDefinedPropertyRector as buggy with default value
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
1 parent 9773ed1 commit e63774d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
use Utils\Rector\PassStrictParameterToFunctionParameterRector;
6060
use Utils\Rector\RemoveErrorSuppressInTryCatchStmtsRector;
6161
use Utils\Rector\UnderscoreToCamelCaseVariableNameRector;
62+
use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector;
6263

6364
return RectorConfig::configure()
6465
->withPhpSets(php81: true)
@@ -176,6 +177,9 @@
176177

177178
// Unnecessary (string) is inserted
178179
NullToStrictStringFuncCallArgRector::class,
180+
181+
// buggy with default value
182+
NarrowUnusedSetUpDefinedPropertyRector::class,
179183
])
180184
// auto import fully qualified class names
181185
->withImportNames(removeUnusedImports: true)

0 commit comments

Comments
 (0)