mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
chore(tooling): improve rector config
- remove deprecated strictBooleans set - order rule sets inside withPreparedSets
This commit is contained in:
parent
ac9ebeb09b
commit
c2d584679c
1 changed files with 8 additions and 9 deletions
17
rector.php
17
rector.php
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Reference in a new issue