-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpcs.xml
More file actions
39 lines (31 loc) · 1.09 KB
/
phpcs.xml
File metadata and controls
39 lines (31 loc) · 1.09 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
37
38
39
<?xml version="1.0"?>
<ruleset name="crawler chat bot coding standard">
<description>crawler chat bot coding standard</description>
<!-- display progress and sniff -->
<arg value="p"/>
<arg value="s"/>
<!-- use colors in output -->
<arg name="colors"/>
<!-- inherit rules from: -->
<rule ref="PSR2"/>
<!-- Paths and file to check -->
<file>app</file>
<file>bootstrap</file>
<file>config</file>
<file>database</file>
<file>routes</file>
<file>tests</file>
<exclude-pattern>bootstrap/cache/*</exclude-pattern>
<!-- specific and just exclude rules in some file -->
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>bootstrap/autoload.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>database/migrations</exclude-pattern>
<exclude-pattern>database/seeds</exclude-pattern>
</rule>
</ruleset>