code-quality/README.md

31 lines
558 B
Markdown
Raw Normal View History

2022-11-04 10:18:22 +00:00
# My very opiniated Configurations for Rector and ECS
## Installation
```bash
composer require --dev lubiana/code-quality
```
Add my Setlist to ECS in `ecs.php`:
```php
return static function (\Symplify\EasyCodingStandard\Config\ECSConfig $config): void {
$config->sets([
\Lubiana\CodeQuality\LubiSetList::ECS,
]);
};
```
And for rector.php:
```php
return static function (\Rector\Config\RectorConfig $config): void {
$config->sets([
\Lubiana\CodeQuality\LubiSetList::RECTOR,
]);
};
```
2022-10-12 18:52:53 +00:00