withPaths([ __DIR__.'/app', __DIR__.'/bootstrap', __DIR__.'/config', __DIR__.'/lang', __DIR__.'/public', __DIR__.'/resources', __DIR__.'/routes', __DIR__.'/tests', ]) ->withSkip([ __DIR__.'*.blade.php', __DIR__.'/bootstrap/cache', ]) ->withCache( cacheDirectory: '.rector/cache', cacheClass: FileCacheStorage::class ) ->withPhpSets() ->withSets([ LaravelSetList::LARAVEL_ARRAYACCESS_TO_METHOD_CALL, LaravelSetList::LARAVEL_CODE_QUALITY, LaravelSetList::LARAVEL_COLLECTION, LaravelSetList::LARAVEL_CONTAINER_STRING_TO_FULLY_QUALIFIED_NAME, LaravelSetList::LARAVEL_ELOQUENT_MAGIC_METHOD_TO_QUERY_BUILDER, LaravelSetList::LARAVEL_IF_HELPERS, LaravelSetList::LARAVEL_LEGACY_FACTORIES_TO_CLASSES, ]) ->withTypeCoverageLevel(0) ->withDeadCodeLevel(0) ->withCodeQualityLevel(0) ->withImportNames(removeUnusedImports: true) ->withAttributesSets();