withPaths([__DIR__ . '/src']) ->withSkipPath(__DIR__ . '/src/vendor') ->withSkipPath(__DIR__ . '/src/data/cache') ->withPhpSets() ->withTypeCoverageLevel(5) ->withDeadCodeLevel(25) ->withSets([ SetList::INSTANCEOF, SetList::PHP_POLYFILLS ]) ->withSkip([ LongArrayToShortArrayRector::class, NullToStrictStringFuncCallArgRector::class, ]) ->withRules([ExplicitNullableParamTypeRector::class]) ->withCache('./cache/rector', FileCacheStorage::class) ->withParallel(120, 8, 10);