24 lines
803 B
XML
24 lines
803 B
XML
<?xml version="1.0"?>
|
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Oreolek" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
|
|
<description>PSR-2 with tabs, a bit relaxed style.</description>
|
|
|
|
<!-- Exclude the Composer Vendor directory. -->
|
|
<exclude-pattern>/vendor/*</exclude-pattern>
|
|
|
|
<arg name="basepath" value="."/>
|
|
<arg name="colors"/>
|
|
|
|
<!-- Include whole PSR2 except tabs, not spaces -->
|
|
<rule ref="PSR2">
|
|
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
|
|
</rule>
|
|
|
|
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
|
|
<rule ref="Generic.WhiteSpace.ScopeIndent">
|
|
<properties>
|
|
<property name="indent" value="2"/>
|
|
<property name="tabIndent" value="true"/>
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|