binsoul/coding-standard

dev-master / 1.0.x-dev 2020-05-08 07:05 UTC

This package is auto-updated.

Last update: 2020-07-08 07:28:39 UTC


README

Latest Version on Packagist Software License

This package provides the coding standard for our projects.

Install

Via composer:

$ composer require binsoul/coding-standard --dev

Usage

Install easy coding standard:

$ composer require symplify/easy-coding-standard-prefixed --dev

Check coding standard:

$ vendor/bin/ecs check src tests --config vendor/binsoul/coding-standard/easy-coding-standard.yaml

Install GrumPHP:

$ composer require phpro/grumphp-shim --dev

Add GrumPHP configuration to composer.json:

{
    "extra": {
        "grumphp": {
            "config-default-path": "vendor/binsoul/coding-standard/grumphp.yaml"
        }
    }
}

License

The MIT License (MIT). Please see License File for more information.