-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.phpcs.xml
32 lines (27 loc) · 1.17 KB
/
.phpcs.xml
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
29
30
31
32
<?xml version="1.0" encoding="UTF-8" ?>
<ruleset name="Custom Standard">
<description>A custom coding standard</description>
<ini name="memory_limit" value="-1" />
<arg name="extensions" value="php" />
<arg value="p" />
<arg value="s" />
<runtime-set name="testVersion" value="8.0" />
<rule ref="JP3CKI">
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification"/>
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"/>
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName">
<exclude-pattern>*/commands/*</exclude-pattern>
<exclude-pattern>*/models/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<file>.</file>
<exclude-pattern>*/bin/*</exclude-pattern>
<exclude-pattern>*/migrations/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/resources/*</exclude-pattern>
<exclude-pattern>*/runtime/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/views/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
</ruleset>