chore(tooling): improve rector config

- remove deprecated strictBooleans set
- order rule sets inside withPreparedSets
This commit is contained in:
peaklabs-dev
2025-11-30 16:58:58 +01:00
parent ac9ebeb09b
commit c2d584679c
+8 -9
View File
@@ -79,18 +79,17 @@ return RectorConfig::configure()
])
->withPhpSets()
->withPreparedSets(
carbon: true,
deadCode: true,
codeQuality: true,
codingStyle: true,
deadCode: true,
earlyReturn: true,
instanceOf: true,
naming: true,
phpunitCodeQuality: true,
privatization: true,
rectorPreset: true,
strictBooleans: true,
typeDeclarations: true,
privatization: true,
naming: true,
instanceOf: true,
earlyReturn: true,
carbon: true,
rectorPreset: true,
phpunitCodeQuality: true,
)
->withAttributesSets()
->withRules([