czende/coding-standard

Coding standard configuration for contributors.

v0.3 2019-02-14 14:19 UTC

This package is not auto-updated.

Last update: 2024-04-28 03:25:25 UTC


README

🥇 Coding standard configuration.

Installation & usage

  1. Install this package:

    $ composer require --dev czende/coding-standard
  2. Import a configuration file in easy-coding-standard.yml in the root of your project:

    imports:
        - { resource: vendor/czende/coding-standard/easy-coding-standard.yml }
  3. Run in CLI (remember to have proper composer bin directory config - "bin-dir": "bin")

# dry
php bin/ecs check src

# fix
php bin/ecs check src --fix