motley / ecs-config
Rule Set for EasyCodingStandard
Installs: 7 736
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- symplify/easy-coding-standard: ^12.0.7
README
An opinionated rule set for EasyCodingStandard
Installation
composer require --dev motley/ecs-config
Usage
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 }