An opinionated rule set for EasyCodingStandard
composer require --dev motley/ecs-config
In your ecs.php
:
// …
use Motley\EasyCodingStandard\SetList as MotleySetList
return static function (ECSConfig $ecsConfig): void {
// Define paths, cache directory etc
$ecsConfig->sets([MotleySetList::MOTLEY]);
// Override anything you wish, add exclusions etc
}