rector: instanceOf, earlyReturn, strictBooleans

This commit is contained in:
2024-02-21 14:02:35 +00:00
parent 0184d0432b
commit c781540aa6
4 changed files with 10 additions and 8 deletions

View File

@ -14,7 +14,7 @@ return RectorConfig::configure()
])
// uncomment to reach your current PHP version
->withPhpSets()
->withPreparedSets(deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations : true)
->withPreparedSets(deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations : true, privatization: true, naming: false, instanceOf: true, earlyReturn: true, strictBooleans: true)
->withSkip([
LocallyCalledStaticMethodToNonStaticRector::class,
LocallyCalledStaticMethodToNonStaticRector::class
]);;