Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 512 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 512 Bytes

PcComponentes Coding Standard

PcComponentes Coding Standard for PHP_CodeSniffer provides sniffs that fall into three categories.

Usage

Use composer to require the library:

composer require --dev pccomponentes/coding-standard

Create the phpcs.xml.dist configuration file and use the standard:

<?xml version="1.0" ?>
<ruleset name="Project rules">
    <rule ref="vendor/pccomponentes/coding-standard/src/ruleset.xml" />
</ruleset>