chore(tooling): improve rector config

- remove deprecated strictBooleans set
- order rule sets inside withPreparedSets
This commit is contained in:
peaklabs-dev 2025-11-18 17:28:29 +01:00
parent ac9ebeb09b
commit c2d584679c
No known key found for this signature in database

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([