nlubisch / grumphp-easycodingstandard
EasyCodingStandard Task for GrumPHP
Installs: 2 519
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 5
Open Issues: 0
Requires
- php: >=7.1
- phpro/grumphp: ^0.14
Requires (Dev)
Suggests
- symplify/easy-coding-standard: Allow checking code style with EasyCodingStandard.
This package is auto-updated.
Last update: 2025-03-28 21:04:30 UTC
README
This package extends GrumPHP with a task that runs EasyCodingStandard.
Installation
The easiest way to install this package is through composer:
composer require nlubisch/grumphp-easycodingstandard --dev
Add the extension loader to your grumphp.yml
parameters: extensions: - NLubisch\GrumPHP\Extension
Usage
parameters: tasks: ecs: whitelist_patterns: - src - tests fix: true
config
Default: null
If the EasyCodingStandard config is in a different path you can specify it.
whitelist_patterns
Default: []
This parameters is an array of directories/files to run EasyCodingStandard on.
fix
Default: false
If EasyCodingStandard finds any error fix
defines if they should be fixed.