withPaths([ __DIR__.'/app', __DIR__.'/bootstrap', __DIR__.'/config', __DIR__.'/lang', __DIR__.'/public', __DIR__.'/resources', __DIR__.'/routes', __DIR__.'/tests', ]) ->withCache( cacheDirectory: '.rector/cache', cacheClass: FileCacheStorage::class ) ->withPreparedSets( deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations: true, privatization: true, naming: true, rectorPreset: true, ) ->withPhpSets() ->withImportNames(removeUnusedImports: true);