-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs_disabled.xml
69 lines (51 loc) · 1.87 KB
/
phpcs_disabled.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
68
69
<?xml version="1.0"?>
<ruleset name="Meglerfront PHP Standards">
<description>Meglerfront PHP Standards</description>
<!-- display progress -->
<arg value="p" />
<!-- use colors in output -->
<arg name="colors" />
<!-- inherit rules from: -->
<rule ref="PSR1" />
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
<!-- Additional rules -->
<rule ref="Generic.Commenting.Todo.CommentFound">
<type>warning</type>
</rule>
<!-- Disallow deprecated functions -->
<rule ref="Generic.PHP.DeprecatedFunctions" />
<!-- Disallow PHP closing tags -->
<rule ref="Zend.Files.ClosingTag" />
<!-- Force UNIX-style line endings -->
<rule ref="Generic.Files.LineEndings">
<properties>
<property name="eolChar" value="\n"/>
</properties>
</rule>
<!-- Allow empty catch-blocks -->
<rule ref="Generic.CodeAnalysis.EmptyStatement.DetectedCATCH">
<severity>0</severity>
</rule>
<!-- Require upper-case constant names -->
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
<!-- Reguire __construct -->
<rule ref="Generic.NamingConventions.ConstructorName" />
<!-- Require doc comments to be well-formatted -->
<!--<rule ref="Generic.Commenting.DocComment"/>-->
<!-- Require spaces around operators -->
<rule ref="Squiz.WhiteSpace.OperatorSpacing" />
<!-- Require spaces around control structures -->
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing" />
<!-- Disallow space-indent -->
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent" />
<!-- Require space after casting -->
<rule ref="Generic.Formatting.SpaceAfterCast" />
<!-- Require lower-case PHP-keywords -->
<rule ref="Generic.PHP.LowerCaseKeyword" />
<!-- Require lower-case true, false and null -->
<rule ref="Generic.PHP.LowerCaseConstant" />
<!-- Require correct array bracket spacing -->
<rule ref="Squiz.Arrays.ArrayBracketSpacing" />
<!-- Paths to check -->
<file>src</file>
</ruleset>