Skip to content

motleyhu/ecs-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rule Set for EasyCodingStandard

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
}