-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
executable file
·39 lines (33 loc) · 1.23 KB
/
Copy pathphpcs.xml
File metadata and controls
executable file
·39 lines (33 loc) · 1.23 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="ASCMVC coding standard">
<description>ASCMVC coding standard</description>
<!-- display progress -->
<arg value="p"/>
<arg name="colors"/>
<!-- inherit rules from: -->
<rule ref="PSR2">
<exclude name="PSR1.Files.SideEffects" />
<exclude name="PSR1.Classes.ClassDeclaration" />
<exclude name="Squiz.Classes.ValidClassName" />
<exclude name="PSR2.Methods.MethodDeclaration" />
<!-- <exclude name="PSR2.Classes.PropertyDeclaration" /> -->
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties>
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>
<!-- Lines can be 200 chars long and never show errors -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="225"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
<!-- Allow long array syntax (PHP 5.3) -->
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found">
<severity>0</severity>
</rule>
<!-- Paths to check -->
<file>./src</file>
</ruleset>