app_template/rector.php
Michel Roux 62f793e748
All checks were successful
app_template / xml (push) Successful in 11s
app_template / php (push) Successful in 1m7s
app_template / nodejs (push) Successful in 1m1s
app_template / release (push) Has been skipped
make my own changes
2024-11-10 17:08:22 +01:00

30 lines
526 B
PHP

<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__.'/lib',
])
->withPhpSets(php80: true)
->withPreparedSets(
deadCode: true,
codeQuality: true,
codingStyle: true,
typeDeclarations: true,
privatization: true,
instanceOf: true,
earlyReturn: true,
strictBooleans: true,
rectorPreset: true,
phpunitCodeQuality: true,
doctrineCodeQuality: true,
symfonyCodeQuality: true,
symfonyConfigs: true,
twig: true,
phpunit: true,
)
;