24 lines
690 B
PHP
24 lines
690 B
PHP
<?php declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([__DIR__ . '/web/app/themes/haiku-atelier-2024'])
|
|
->withSkip([__DIR__ . '/vendor', __DIR__ . '/node_modules'])
|
|
->withPhpSets(php85: true)
|
|
->withCodeQualityLevel(10)
|
|
->withCodingStyleLevel(10)
|
|
->withDeadCodeLevel(10)
|
|
->withTypeCoverageDocblockLevel(10)
|
|
->withTypeCoverageLevel(10)
|
|
->withImportNames(
|
|
importDocBlockNames: true,
|
|
importNames: true,
|
|
importShortClasses: true,
|
|
removeUnusedImports: true,
|
|
)
|
|
->withPreparedSets(
|
|
carbon: true,
|
|
instanceOf: true,
|
|
privatization: true,
|
|
);
|