Initial commit
This commit is contained in:
28
phpcs.xml
Normal file
28
phpcs.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?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>
|
Reference in New Issue
Block a user