withPaths([ __DIR__ . '/lib', __DIR__ . '/src', __DIR__ . '/tests/functional', __DIR__ . '/tests/unit', ]) ->withSkip([ __DIR__ . '/src/icons/index.php', // somehow craft\web AssetManager refer with Yii parent AssetManager class // autoload may need to be bootstrapped to early load some child classes RemoveExtraParametersRector::class, // macro usage, make phpstan notice ClosureToArrowFunctionRector::class => [ __DIR__ . '/src/base/ApplicationTrait.php', ], ]) ->withPhpSets(php74: true);