motley / ecs-config
Rule Set for EasyCodingStandard
Installs: 12 803
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/motley/ecs-config
Requires
- php: ^8.1
- symplify/easy-coding-standard: ^13.0.0
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 }