No description
Find a file
lubiana 9993d760d6
All checks were successful
/ ls (push) Successful in 17s
add ClassAttributeSeparationFixer
2024-05-04 19:41:48 +02:00
.forgejo/workflows add workflow 2024-05-04 19:33:42 +02:00
config add ClassAttributeSeparationFixer 2024-05-04 19:41:48 +02:00
src bump versions and set php83 as new target 2024-02-03 01:07:15 +01:00
.gitignore init 2022-10-12 19:51:16 +02:00
composer.json bump dependencies 2024-04-25 18:07:52 +02:00
composer.lock bump dependencies 2024-04-25 18:07:52 +02:00
ecs.php bump dependencies and update config 2024-01-25 18:31:04 +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 bump versions and set php83 as new target 2024-02-03 01:07:15 +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,
    ]);
};