forked from andrewscaya/mod_simpleemailform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
executable file
·52 lines (45 loc) · 1.79 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
<?xml version="1.0"?>
<ruleset name="Simple Email Form coding standard">
<description>Simple Email Form 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="200"/>
<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>.</file>
<!-- Paths and files to ignore -->
<exclude-pattern>*/bin/*</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/data/*</exclude-pattern>
<exclude-pattern>*/docs/*</exclude-pattern>
<exclude-pattern>*/docs-api/*</exclude-pattern>
<exclude-pattern>*/language/*</exclude-pattern>
<exclude-pattern>*/lib/*</exclude-pattern>
<exclude-pattern>*/sef/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>PEAR.php</exclude-pattern>
<exclude-pattern>PEAR5.php</exclude-pattern>
</ruleset>