|
13 | 13 | <!-- Include the whole PSR-2 (so PSR-1) standard -->
|
14 | 14 | <rule ref="PSR2"/>
|
15 | 15 |
|
16 |
| - <!-- ************** --> |
17 |
| - <!-- *** ZEND *** --> |
18 |
| - <!-- ************** --> |
19 |
| - |
20 |
| - <!-- Import Zend coding standard (which in turn imports PEAR) --> |
21 |
| - <rule ref="Zend"> |
22 |
| - <!-- Exclude their code analyzer --> |
23 |
| - <exclude name="Zend.Debug.CodeAnalyzer"/> |
24 |
| - |
25 |
| - <!-- Covered by Squiz ControlSignature --> |
26 |
| - <exclude name="PEAR.ControlStructures.ControlSignature"/> |
27 |
| - |
28 |
| - <!-- Covered by PSR2 FunctionCallSignature --> |
29 |
| - <exclude name="PEAR.Functions.FunctionCallSignature"/> |
30 |
| - |
31 |
| - <!-- Covered by Squiz FunctionDeclaration imported by PSR2 --> |
32 |
| - <exclude name="Generic.Functions.OpeningFunctionBraceBsdAllman.BraceOnSameLine"/> |
33 |
| - </rule> |
34 |
| - |
35 |
| - <!-- Don't enforce Zend's private member underscores --> |
36 |
| - <rule ref="Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore"> |
37 |
| - <severity>0</severity> |
38 |
| - </rule> |
39 |
| - |
40 |
| - <!-- Ignore variables that contains numbers --> |
41 |
| - <rule ref="Zend.NamingConventions.ValidVariableName.ContainsNumbers"> |
42 |
| - <severity>0</severity> |
43 |
| - </rule> |
44 |
| - |
45 | 16 | <!-- ****************** -->
|
46 | 17 | <!-- *** OVERRIDE *** -->
|
47 | 18 | <!-- ****************** -->
|
48 | 19 |
|
49 |
| - <!-- Override LineLength to avoid 80 character warning --> |
50 |
| - <rule ref="Generic.Files.LineLength"> |
51 |
| - <properties> |
52 |
| - <property name="lineLimit" value="120"/> |
53 |
| - </properties> |
54 |
| - </rule> |
55 |
| - |
56 | 20 | <!-- Override SuperfluousWhitespace to not ignore blank lines -->
|
57 | 21 | <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
|
58 | 22 | <properties>
|
|
61 | 25 | </rule>
|
62 | 26 | <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" />
|
63 | 27 |
|
| 28 | + <!-- ************** --> |
| 29 | + <!-- *** ZEND *** --> |
| 30 | + <!-- ************** --> |
| 31 | + |
| 32 | + <!-- Complete with some of ZEND standard --> |
| 33 | + <rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"> |
| 34 | + <exclude name="Generic.Functions.OpeningFunctionBraceBsdAllman.BraceOnSameLine"/> |
| 35 | + </rule> |
| 36 | + <rule ref="Generic.PHP.DisallowShortOpenTag"/> |
| 37 | + <rule ref="PEAR.Classes.ClassDeclaration"/> |
| 38 | + <rule ref="Squiz.Functions.GlobalFunction"/> |
| 39 | + <rule ref="Squiz.NamingConventions.ValidVariableName"> |
| 40 | + <exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/> |
| 41 | + <exclude name="Squiz.NamingConventions.ValidVariableName.ContainsNumbers"/> |
| 42 | + </rule> |
| 43 | + |
64 | 44 | <!-- **************** -->
|
65 | 45 | <!-- *** OTHERS *** -->
|
66 | 46 | <!-- **************** -->
|
|
0 commit comments