code-quality/README.md
2022-11-17 15:30:08 +01:00

558 B

My very opiniated Configurations for Rector and ECS

Installation

composer require --dev lubiana/code-quality

Add my Setlist to ECS in ecs.php:

return static function (\Symplify\EasyCodingStandard\Config\ECSConfig $config): void {
    $config->sets([
        \Lubiana\CodeQuality\LubiSetList::ECS,
    ]);
};

And for rector.php:

return static function (\Rector\Config\RectorConfig $config): void {
    $config->sets([
        \Lubiana\CodeQuality\LubiSetList::RECTOR,
    ]);
};