mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-07 20:58:24 +00:00
Update rector config for Symfony container and code/dead code levels
- Added Symfony container XML and PHP paths to the configuration. - Set levels for dead code, code quality, type coverage, docblocks, and coding style.
This commit is contained in:
@@ -19,5 +19,10 @@ use Rector\Symfony\Set\SymfonySetList;
|
||||
return RectorConfig::configure()
|
||||
->withPaths(['./src', './docs', './rector.php'])
|
||||
->withComposerBased(twig: true, doctrine: true, symfony: true)
|
||||
->withSets([SetList::PHP_80, SetList::PHP_81, SetList::PHP_82, SetList::PHP_83, SetList::PHP_84])
|
||||
;
|
||||
->withSymfonyContainerXml(__DIR__.'/var/cache/dev/App_KernelDevDebugContainer.xml')
|
||||
->withSymfonyContainerPhp(__DIR__.'/var/cache/dev/App_KernelDevDebugContainer.php')
|
||||
->withDeadCodeLevel(0)
|
||||
->withCodeQualityLevel(0)
|
||||
->withTypeCoverageLevel(0)
|
||||
->withTypeCoverageDocblockLevel(0)
|
||||
->withCodingStyleLevel(0);
|
||||
|
||||
Reference in New Issue
Block a user