Create new phpcs rules
This commit is contained in:
17
phpcs.xml
Normal file
17
phpcs.xml
Normal 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>
|
||||
Reference in New Issue
Block a user