chore: integrate with rector
This commit is contained in:
+24
@@ -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');
|
||||
Reference in New Issue
Block a user