28 lines
722 B
XML
28 lines
722 B
XML
|
<?xml version="1.0"?>
|
||
|
<ruleset name="Slim PSR2">
|
||
|
<!--
|
||
|
Include all sniffs in the PEAR standard. Note that the
|
||
|
path to the standard does not have to be specified as the
|
||
|
PEAR standard exists inside the PHP_CodeSniffer install
|
||
|
directory.
|
||
|
-->
|
||
|
<rule ref="PSR2"/>
|
||
|
|
||
|
<!--
|
||
|
Another useful example of changing sniff settings is
|
||
|
to specify the end of line character that your standard
|
||
|
should check for.
|
||
|
-->
|
||
|
<rule ref="Generic.Files.LineEndings">
|
||
|
<properties>
|
||
|
<property name="eolChar" value="\n"/>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
<arg name="tab-width" value="2"/>
|
||
|
<rule ref="Generic.WhiteSpace.ScopeIndent">
|
||
|
<properties>
|
||
|
<property name="indent" value="2"/>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
|
||
|
</ruleset>
|