We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9773ed1 commit e63774dCopy full SHA for e63774d
rector.php
@@ -59,6 +59,7 @@
59
use Utils\Rector\PassStrictParameterToFunctionParameterRector;
60
use Utils\Rector\RemoveErrorSuppressInTryCatchStmtsRector;
61
use Utils\Rector\UnderscoreToCamelCaseVariableNameRector;
62
+use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector;
63
64
return RectorConfig::configure()
65
->withPhpSets(php81: true)
@@ -176,6 +177,9 @@
176
177
178
// Unnecessary (string) is inserted
179
NullToStrictStringFuncCallArgRector::class,
180
+
181
+ // buggy with default value
182
+ NarrowUnusedSetUpDefinedPropertyRector::class,
183
])
184
// auto import fully qualified class names
185
->withImportNames(removeUnusedImports: true)
0 commit comments