free2er/coding-standard

PHP CodeSniffer Coding Standard

1.1.1 2019-12-02 09:44 UTC

This package is auto-updated.

Last update: 2024-10-29 05:40:43 UTC


README

PHP CodeSniffer Coding Standard

Installation

This standard can be installed with the Composer dependency manager.

  1. Install Composer

  2. Install the coding standard as a dependency of your project

     composer require --dev free2er/coding-standard
    
  3. Create phpcs configuration

     cp vendor/free2er/coding-standard/phpcs.xml.dist .
     nano phpcs.xml.dist
    
  4. Done!

     vendor/bin/phpcs