Skip to content

chrisramakers/grumphp-easycodingstandard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrumPHP EasyCodingStandard Task

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.

About

EasyCodingStandard Task for GrumPHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%