-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
26 lines (24 loc) · 994 Bytes
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="phpcs.xsd"
>
<description>The Omega coding standard. PSR12 + Types</description>
<arg name="cache" value="cache/phpcs/phpcs.json" />
<arg name="colors" />
<arg value="p" />
<rule ref="PSR12">
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
<exclude name="PSR12.Files.FileHeader.IncorrectGrouping" />
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="0"/>
<property name="ignoreComments" value="false"/>
</properties>
</rule>
<exclude-pattern>vendor/omegamvc/framework/src/Exception/Resources/css/*</exclude-pattern>
<exclude-pattern>vendor/omegamvc/framework/src/Exception/Resources/js/*</exclude-pattern>
</ruleset>