No description
Find a file
2023-03-25 20:17:33 +01:00
config Add Attribute Spacing sniff 2023-01-25 22:33:15 +01:00
src Move SetList to LubiSetList 2022-11-04 11:18:22 +01:00
.gitignore init 2022-10-12 19:51:16 +02:00
composer.json update dependencies 2023-03-25 20:17:33 +01:00
composer.lock update dependencies 2023-03-25 20:17:33 +01:00
ecs.php Move SetList to LubiSetList 2022-11-04 11:18:22 +01:00
LICENSE Initial commit 2022-10-12 19:41:53 +02:00
README.md add installation instructions to README.md 2022-11-17 15:30:08 +01:00
rector.php Move SetList to LubiSetList 2022-11-04 11:18:22 +01:00

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,
    ]);
};