Create new phpcs rules

This commit is contained in:
QWp6t
2015-12-27 23:13:05 -08:00
committed by Ben Word
parent 1df3fee010
commit 2d02544173
4 changed files with 62 additions and 47 deletions

17
phpcs.xml Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<ruleset name="Roots">
<description>Roots Coding Standards</description>
<!-- Use PSR-2 as a base -->
<rule ref="PSR2"/>
<!-- Show colors in console -->
<arg value="-colors"/>
<!-- Show sniff codes in all reports -->
<arg value="s"/>
<!-- Scan these files -->
<file>functions.php</file>
<file>src</file>
</ruleset>