Skip to content

free2er/coding-standard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coding-standard

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