2024-09-19 22:48:23 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
|
|
|
|
return RectorConfig::configure()
|
|
|
|
->withPaths([
|
2024-11-10 16:07:56 +00:00
|
|
|
__DIR__.'/lib',
|
2024-09-19 22:48:23 +00:00
|
|
|
])
|
|
|
|
->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,
|
2024-11-10 16:07:56 +00:00
|
|
|
)
|
|
|
|
;
|