-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
37 lines (30 loc) · 1.39 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
33
34
35
<?xml version="1.0"?>
<ruleset name="ROA Research Standard">
<description>Standard for ROA Research Libraries</description>
<rule ref="PSR12"/>
<arg name="report" value="full"/>
<arg phpcbf-only="true" name="report" value="diff"/>
<arg name="colors"/>
<arg value="sp"/>
<exclude-pattern>/tests/_app/assets/*</exclude-pattern>
<exclude-pattern>/tests/_app/runtime/*</exclude-pattern>
<exclude-pattern>/tests/_output/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/git-hooks/*</exclude-pattern>
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
<exclude-pattern>*/tests/*(Test|Cest).php</exclude-pattern>
</rule>
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
<exclude-pattern>*/tests/*(Test|Cest).php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>/tests/*(Test|Cest).php</exclude-pattern>
<exclude-pattern>/tests/_support/*</exclude-pattern>
<exclude-pattern>src/migrations/m*.php</exclude-pattern>
<exclude-pattern>tests/_app/migrations/m*.php</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>src/migrations/m*.php</exclude-pattern>
<exclude-pattern>tests/_app/migrations/m*.php</exclude-pattern>
</rule>
</ruleset>