feat: upgrade to symfony 7.4
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Symfony\Set\SymfonySetList;
|
||||
|
||||
return RectorConfig::configure()
|
||||
->withPaths([
|
||||
__DIR__ . '/src',
|
||||
__DIR__ . '/tests',
|
||||
])
|
||||
->withSymfonyContainerXml(__DIR__ . '/var/cache/dev/App_KernelDevDebugContainer.xml')
|
||||
// Upgrade rules bound to the Symfony / Twig / Doctrine versions currently
|
||||
// installed (resolved from composer.lock). Bump the constraints and run
|
||||
// `composer update` before executing Rector so it targets 7.x.
|
||||
->withComposerBased(twig: true, doctrine: true, symfony: true)
|
||||
->withSets([
|
||||
SymfonySetList::CONFIGS,
|
||||
])
|
||||
->withSkip([
|
||||
// Generated migrations are frozen once shipped.
|
||||
__DIR__ . '/migrations',
|
||||
__DIR__ . '/src/**/DoctrineMigrations',
|
||||
])
|
||||
->withParallel();
|
||||
Reference in New Issue
Block a user