chore: integrate with rector

This commit is contained in:
Björn Fromme committed 2026-05-04 17:19:35 +02:00
1 parent 5b16a515f3
commit d211425ff2
3 files changed
+88 -1

No files matched your search

+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');