chore: integrate with rector

This commit is contained in:
Björn Fromme
2026-05-04 17:19:35 +02:00
parent 5b16a515f3
commit d211425ff2
3 changed files with 88 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__.'/src',
__DIR__.'/tests',
])
->withImportNames(
importShortClasses: false,
removeUnusedImports: true,
)
->withComposerBased(
doctrine: true,
symfony: true,
)
->withSymfonyContainerXml(
__DIR__.'/var/cache/dev/App_KernelDevDebugContainer.xml'
)
->withFluentCallNewLine()
->withCache(__DIR__.'/var/rector');