mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
35 lines
878 B
PHP
35 lines
878 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__.'/config',
|
|
__DIR__.'/public',
|
|
__DIR__.'/src',
|
|
__DIR__.'/tests',
|
|
])
|
|
->withSymfonyContainerXml('var/cache/dev/App_KernelDevDebugContainer.xml')
|
|
->withParallel()
|
|
->withPhpSets()
|
|
->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,
|
|
)
|
|
->withAttributesSets(all: true)
|
|
->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true)
|
|
->withAttributesSets()
|
|
;
|