-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.phpcs.xml
96 lines (89 loc) · 3.51 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0"?>
<ruleset name="Symfonyish Standards for CodeFactor.io">
<file>./</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<rule ref="PSR1" />
<rule ref="PSR2" />
<rule ref="PSR12" />
<rule ref="Generic.Arrays.ArrayIndent" />
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
<rule ref="Generic.Classes.DuplicateClassName" />
<rule ref="Generic.ControlStructures.InlineControlStructure" />
<rule ref="Generic.Formatting.SpaceAfterCast" />
<rule ref="Generic.Functions.CallTimePassByReference" />
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
<rule ref="Generic.PHP.LowerCaseConstant" />
<rule ref="Generic.Strings.UnnecessaryStringConcat" />
<rule ref="Generic.WhiteSpace.DisallowTabIndent" />
<rule ref="PEAR.Classes.ClassDeclaration" />
<rule ref="PEAR.Commenting.ClassComment" />
<rule ref="PEAR.Commenting.FunctionComment" />
<rule ref="PEAR.Formatting.MultiLineAssignment" />
<rule ref="Squiz.Arrays.ArrayBracketSpacing" />
<rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned" />
<rule ref="Squiz.ControlStructures.ControlSignature" />
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration" />
<rule ref="Squiz.ControlStructures.ForLoopDeclaration" />
<rule ref="Squiz.ControlStructures.LowercaseDeclaration" />
<rule ref="Squiz.PHP.LowercasePHPFunctions" />
<rule ref="Squiz.Scope.MemberVarScope" />
<rule ref="Squiz.Strings.ConcatenationSpacing">
<properties>
<property name="spacing" value="1" />
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
<properties>
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing">
<properties>
<property name="spacing" value="1" />
<property name="spacingAfterLast" value="0" />
<property name="spacingBeforeFirst" value="0" />
</properties>
</rule>
<rule ref="Zend.NamingConventions.ValidVariableName.NotCamelCaps" />
<rule ref="Zend.Files.ClosingTag.NotAllowed" />
<rule ref="Generic.Files.LineLength.TooLong">
<severity>3</severity>
</rule>
<rule ref="PEAR.Commenting.ClassComment.MissingCategoryTag">
<type>warning</type>
<severity>0</severity>
</rule>
<rule ref="PEAR.Commenting.ClassComment.MissingPackageTag">
<type>warning</type>
<severity>0</severity>
</rule>
<rule ref="PEAR.Commenting.ClassComment.MissingLicenseTag">
<type>warning</type>
<severity>0</severity>
</rule>
<rule ref="PEAR.Commenting.ClassComment.MissingLinkTag">
<type>warning</type>
<severity>0</severity>
</rule>
<rule ref="PEAR.Commenting.FileComment.ParamCommentAlignment">
<type>warning</type>
<severity>0</severity>
</rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingParamComment">
<type>warning</type>
<severity>0</severity>
</rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn">
<type>warning</type>
<severity>3</severity>
</rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingBeforeTags">
<type>warning</type>
<severity>0</severity>
</rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType">
<type>warning</type>
<severity>0</severity>
</rule>
</ruleset>