-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
28 lines (26 loc) · 1.13 KB
/
phpcs.xml.dist
File metadata and controls
28 lines (26 loc) · 1.13 KB
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
27
28
<?xml version="1.0"?>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="./vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
<description>The Omega coding standard. PSR12 + Types</description>
<arg name="cache" value="cache/phpcs/phpcs.json" />
<arg name="colors" />
<arg value="p" />
<exclude-pattern>./tests/Tests/Support/fixtures/**/*.php</exclude-pattern>
<exclude-pattern>./tests/Tests/Support/Helper/fixtures/**/*.php</exclude-pattern>
<exclude-pattern>./tests/Tests/View/sample/*.php</exclude-pattern>
<exclude-pattern>./tests/Tests/View/Templator/view/*.php</exclude-pattern>
<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>
</ruleset>