withParallel() ->withCache(__DIR__ . '/tools/.cache/rector') ->withPaths([ __DIR__ . '/config', __DIR__ . '/public', __DIR__ . '/src', __DIR__ . '/tests', __DIR__ . '/tools', ]) ->withPhpSets() ->withPreparedSets( deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations: true, privatization: true, instanceOf: true, earlyReturn: true, phpunitCodeQuality: true, doctrineCodeQuality: true, symfonyCodeQuality: true, ) ->withSkip([ __DIR__ . '/config/bundles.php', __DIR__ . '/config/reference.php', __DIR__ . '/tools/.cache', ControllerMethodInjectionToConstructorRector::class, ]) ;