withSkip([ ChangeOrIfContinueToMultiContinueRector::class, StringToClassConstantRector::class => [ __DIR__ . '/../app/Http/Controllers/Auth/LoginController.php', ] ]) ->withPaths([ __DIR__ . '/../app', // __DIR__ . '/../bootstrap', // __DIR__ . '/../config', // __DIR__ . '/../public', // __DIR__ . '/../resources/lang/en_US', // __DIR__ . '/../routes', // __DIR__ . '/../tests', ]) ->withSets([ LaravelLevelSetList::UP_TO_LARAVEL_120, ]) // ->withConfiguredRule(ReplaceServiceContainerCallArgRector::class, [ // new ReplaceServiceContainerCallArg('log', new ClassConstFetch(new Name('Illuminate\Support\Facades\Log'), 'class')), // ]) // uncomment to reach your current PHP version ->withPhpSets() ->withPreparedSets( codingStyle: false, // leave false privatization: false, // leave false. naming: false, // leave false instanceOf: true, earlyReturn: true, strictBooleans: true, carbon: true, rectorPreset: true, phpunitCodeQuality: true, doctrineCodeQuality: true, symfonyCodeQuality: true, symfonyConfigs: true ) ->withComposerBased( twig: true, doctrine: true, phpunit: true, symfony: true) ->withTypeCoverageLevel(0) ->withDeadCodeLevel(0) ->withCodeQualityLevel(0) ->withImportNames(removeUnusedImports: true);// import statements instead of full classes.