2021-03-08 19:44:02 +00:00
|
|
|
<?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>
|
2024-04-10 09:52:35 +00:00
|
|
|
<arg name="tab-width" value="4"/>
|
2021-03-08 19:44:02 +00:00
|
|
|
<rule ref="Generic.WhiteSpace.ScopeIndent">
|
|
|
|
<properties>
|
2024-04-10 09:52:35 +00:00
|
|
|
<property name="indent" value="4"/>
|
2021-03-08 19:44:02 +00:00
|
|
|
</properties>
|
|
|
|
</rule>
|
|
|
|
|
|
|
|
</ruleset>
|