-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs-ruleset.xml
54 lines (45 loc) · 2.22 KB
/
phpcs-ruleset.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
<?xml version="1.0"?>
<ruleset name="Projectaanvraag">
<exclude-pattern>*/cache/*</exclude-pattern>
<exclude-pattern>web/xhprof/*</exclude-pattern>
<exclude-pattern>web/demo*</exclude-pattern>
<rule ref="PSR2" />
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>*/test/*</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>*/test/*</exclude-pattern>
</rule>
<rule ref="Symfony2.Arrays.MultiLineArrayComma" />
<rule ref="Symfony2.Classes.PropertyDeclaration" />
<rule ref="Symfony2.NamingConventions.ValidClassName">
<exclude-pattern>src/Integrations/*</exclude-pattern>
</rule>
<rule ref="Symfony2.NamingConventions.ValidClassName.InvalidAbstractName">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="Symfony2.Objects.ObjectInstantiation" />
<rule ref="Symfony2.WhiteSpace.BinaryOperatorSpacing" />
<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="Squiz.Arrays.ArrayBracketSpacing"/>
<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="Zend">
<exclude name="Generic.Files.LineLength" />
<exclude name="Generic.Functions.OpeningFunctionBraceBsdAllman" />
<exclude name="PEAR.Functions.FunctionDeclaration" />
<exclude name="PEAR.ControlStructures.ControlSignature" />
<exclude name="PEAR.Commenting.FunctionComment.SpacingBeforeTags" />
<exclude name="Zend.Debug.CodeAnalyzer" />
<exclude name="Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore" />
<exclude name="Zend.NamingConventions.ValidVariableName.ContainsNumbers" />
</rule>
</ruleset>