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