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();