forked from fetus-hina/stat.ink
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
36 lines (31 loc) · 1.15 KB
/
Copy pathphpcs.xml
File metadata and controls
36 lines (31 loc) · 1.15 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
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8" ?>
<ruleset name="Customized-PSR2">
<description>A custom coding standard</description>
<ini name="memory_limit" value="-1" />
<arg name="extensions" value="php" />
<rule ref="PSR12" />
<file>.</file>
<exclude-pattern>*/bin/</exclude-pattern>
<exclude-pattern>*/data/</exclude-pattern>
<exclude-pattern>*/doc/</exclude-pattern>
<exclude-pattern>*/docker/</exclude-pattern>
<exclude-pattern>*/messages/*.php</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>
<rule ref="PSR12">
<file>*/components/ability/effect/*</file>
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
</rule>
<rule ref="PSR12">
<file>*/migrations/*</file>
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
<exclude name="PSR1.Classes.ClassDeclaration" />
</rule>
<rule ref="PSR12">
<file>*/messages/*</file>
<exclude name="Generic.Files.LineLength" />
</rule>
</ruleset>