withPaths([ __DIR__ . '/../app', __DIR__ . '/../bin', __DIR__ . '/../classes', __DIR__ . '/../lib', __DIR__ . '/../sections', __DIR__ . '/../tests', ]) ->withPreparedSets( deadCode: true, ) ->withPhpSets() ->withSkip([ NullToStrictStringFuncCallArgRector::class, StringifyStrNeedlesRector::class, // From the one-thing-at-a-time department AddTypeToConstRector::class, AddOverrideAttributeToOverriddenMethodsRector::class, // Until rector understands that defines can be dynamic, this has to be // ignored, otherwise rector will hack stuff out that should be untouched. RemoveAlwaysTrueIfConditionRector::class, ]);