-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
67 lines (63 loc) · 2.38 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0"?>
<ruleset name="Custom">
<description>PSR12, but without linelength check.</description>
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength"/>
<exclude name="Generic.WhiteSpace.ScopeIndent"/>
<exclude name="PEAR.WhiteSpace.ScopeIndent"/>
<exclude name="PSR2.Methods.FunctionCallSignature.Indent"/>
<file>app</file>
<file>bootstrap</file>
<file>config</file>
<file>database</file>
<file>resources</file>
<file>routes</file>
<file>tests</file>
<exclude-pattern>bootstrap/cache/*</exclude-pattern>
<exclude-pattern>bootstrap/autoload.php</exclude-pattern>
<exclude-pattern>*/migrations/*</exclude-pattern>
<exclude-pattern>*/seeds/*</exclude-pattern>
<exclude-pattern>*.blade.php</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName">
<file>tests</file>
<file>app</file>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./app/*</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<file>tests</file>
<file>app</file>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./app/*</exclude-pattern>
</rule>
<rule ref="Generic.NamingConventions.CamelCapsFunctionName.Invalid">
<file>tests</file>
<file>app</file>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./app/*</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<file>tests</file>
<file>app</file>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./app/*</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<file>tests</file>
<file>app</file>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./app/*</exclude-pattern>
</rule>
<rule ref="PEAR.NamingConventions.ValidClassName">
<file>tests</file>
<file>app</file>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./app/*</exclude-pattern>
</rule>
<rule ref="Squiz.Scope.MethodScope">
<file>tests</file>
<exclude-pattern>./tests/*</exclude-pattern>
</rule>
</ruleset>