withParallel(240, 8) ->withPaths([ __DIR__ . '/lam/help', __DIR__ . '/lam/lib', __DIR__ . '/lam/templates', __DIR__ . '/lam/tests', ]) ->withSets([ SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_81, SetList::CODE_QUALITY, ]) ->withSkip([ __DIR__ . '/lam/lib/3rdParty', NullToStrictStringFuncCallArgRector::class, ReadOnlyPropertyRector::class, ClassPropertyAssignToConstructorPromotionRector::class, StaticCallOnNonStaticToInstanceCallRector::class, StringifyStrNeedlesRector::class, RestoreDefaultNullToNullableTypePropertyRector::class, ForRepeatedCountToOwnVariableRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, DisallowedEmptyRuleFixerRector::class, FlipTypeControlToUseExclusiveTypeRector::class, InlineArrayReturnAssignRector::class, // TODO private method check is unreliable, recheck with newer rector version RemoveUnusedPrivateMethodRector::class, // TODO parent call check is unreliable, recheck with newer rector version RemoveParentCallWithoutParentRector::class, // TODO inherited properties check is unreliable, recheck with newer rector version CompleteDynamicPropertiesRector::class, // TODO unreliable, recheck with newer rector version ExplicitReturnNullRector::class ]) ->withFileExtensions([ 'php', 'inc' ]);