|
17 | 17 | <arg name="parallel" value="75"/>
|
18 | 18 | <arg value="p"/>
|
19 | 19 |
|
20 |
| - <!-- Don't hide tokenizer exceptions --> |
21 |
| - <rule ref="Internal.Tokenizer.Exception"> |
22 |
| - <type>error</type> |
23 |
| - </rule> |
24 |
| - |
25 | 20 | <!-- Include the whole PEAR standard -->
|
26 | 21 | <rule ref="PEAR">
|
27 | 22 | <exclude name="PEAR.NamingConventions.ValidFunctionName"/>
|
|
77 | 72 | <rule ref="PSR12.Files.OpenTag"/>
|
78 | 73 | <rule ref="Zend.Files.ClosingTag"/>
|
79 | 74 |
|
80 |
| - <!-- PEAR uses warnings for inline control structures, so switch back to errors --> |
81 |
| - <rule ref="Generic.ControlStructures.InlineControlStructure"> |
82 |
| - <properties> |
83 |
| - <property name="error" value="true"/> |
84 |
| - </properties> |
85 |
| - </rule> |
86 |
| - |
87 | 75 | <!-- We use custom indent rules for arrays -->
|
88 | 76 | <rule ref="Generic.Arrays.ArrayIndent"/>
|
89 | 77 | <rule ref="Squiz.Arrays.ArrayDeclaration.KeyNotAligned">
|
|
112 | 100 | </properties>
|
113 | 101 | </rule>
|
114 | 102 |
|
115 |
| - <!-- Have 12 chars padding maximum and always show as errors --> |
| 103 | + <!-- Have 12 chars padding maximum --> |
116 | 104 | <rule ref="Generic.Formatting.MultipleStatementAlignment">
|
117 | 105 | <properties>
|
118 | 106 | <property name="maxPadding" value="12"/>
|
119 |
| - <property name="error" value="true"/> |
120 | 107 | </properties>
|
121 | 108 | </rule>
|
122 | 109 |
|
|
133 | 120 | </properties>
|
134 | 121 | </rule>
|
135 | 122 |
|
136 |
| - <!-- Private methods MUST not be prefixed with an underscore --> |
137 |
| - <rule ref="PSR2.Methods.MethodDeclaration.Underscore"> |
138 |
| - <type>error</type> |
139 |
| - </rule> |
140 |
| - |
141 |
| - <!-- Private properties MUST not be prefixed with an underscore --> |
142 |
| - <rule ref="PSR2.Classes.PropertyDeclaration.Underscore"> |
143 |
| - <type>error</type> |
144 |
| - </rule> |
145 |
| - |
146 | 123 | <!-- Do not allow unreachable code. -->
|
147 |
| - <rule ref="Squiz.PHP.NonExecutableCode"> |
148 |
| - <type>error</type> |
149 |
| - </rule> |
| 124 | + <rule ref="Squiz.PHP.NonExecutableCode"/> |
150 | 125 |
|
151 | 126 | <!-- The testing bootstrap file uses string concats to stop IDEs seeing the class aliases -->
|
152 | 127 | <rule ref="Generic.Strings.UnnecessaryStringConcat">
|
|
0 commit comments