No description
.forgejo/workflows | ||
config | ||
src | ||
.gitignore | ||
composer.json | ||
composer.lock | ||
ecs.php | ||
LICENSE | ||
README.md | ||
rector.php |
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,
]);
};