withParallel(240, 4) ->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 unreliable, recheck with newer rector version ExplicitReturnNullRector::class, RemoveParentCallWithoutParentRector::class, RemoveAlwaysTrueIfConditionRector::class, ]) ->withFileExtensions([ 'php', 'inc' ]);