withPaths([__DIR__ . '/tests', __DIR__ . '/tests-legacy']) ->withPhpSets() ->withTypeCoverageLevel(2) ->withDeadCodeLevel(25) ->withSets([ PHPUnitSetList::PHPUNIT_110, SetList::INSTANCEOF, SetList::PHP_POLYFILLS ]) ->withSkip([ LongArrayToShortArrayRector::class, NullToStrictStringFuncCallArgRector::class ]) ->withRules([ExplicitNullableParamTypeRector::class]) ->withCache('./cache/rector_tests', FileCacheStorage::class) ->withParallel(120, 8, 10);