services(); $services->set(ParseFileRector::class); $services->set(ArgumentDefaultValueReplacerRector::class) ->call('configure', [[ ArgumentDefaultValueReplacerRector::REPLACED_ARGUMENTS => ValueObjectInliner::inline([ // https://github.com/symfony/symfony/commit/912fc4de8fd6de1e5397be4a94d39091423e5188 new ArgumentDefaultValueReplacer( 'Symfony\Component\Routing\Generator\UrlGeneratorInterface', 'generate', 2, true, 'Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_URL' ), new ArgumentDefaultValueReplacer( 'Symfony\Component\Routing\Generator\UrlGeneratorInterface', 'generate', 2, false, 'Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_PATH' ), new ArgumentDefaultValueReplacer( 'Symfony\Component\Routing\Generator\UrlGeneratorInterface', 'generate', 2, 'relative', 'Symfony\Component\Routing\Generator\UrlGeneratorInterface::RELATIVE_PATH' ), new ArgumentDefaultValueReplacer( 'Symfony\Component\Routing\Generator\UrlGeneratorInterface', 'generate', 2, 'network', 'Symfony\Component\Routing\Generator\UrlGeneratorInterface::NETWORK_PATH' ), ]), ]]); };