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

3.0 2025-11-10 21:39 UTC

This package is auto-updated.

Last update: 2025-12-10 21:48:18 UTC


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
}