|
24 | 24 | <exclude name="PEAR.Commenting.FileComment.Missing"/> |
25 | 25 | <exclude name="PEAR.Commenting.FunctionComment.Missing"/> |
26 | 26 | <exclude name="PEAR.Commenting.FunctionComment.MissingParamComment"/> |
| 27 | + <exclude name="PEAR.Commenting.FunctionComment.MissingParamTag"/> |
27 | 28 | <exclude name="PEAR.Commenting.FunctionComment.MissingReturn"/> |
28 | 29 | <exclude name="PEAR.Commenting.FunctionComment.SpacingAfterParamName"/> |
29 | 30 | <exclude name="PEAR.Commenting.FunctionComment.SpacingAfterParamType"/> |
| 31 | + <exclude name="PEAR.ControlStructures.ControlSignature.Found"/> |
30 | 32 | <exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine"/> |
31 | 33 | <exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"/> |
32 | 34 | <exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments"/> |
|
36 | 38 | <exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps"/> |
37 | 39 | <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/> |
38 | 40 | <exclude name="PEAR.WhiteSpace.ScopeIndent.Incorrect"/> |
| 41 | + <exclude name="PEAR.WhiteSpace.ScopeIndent.IncorrectExact"/> |
39 | 42 | </rule> |
40 | 43 | <rule ref="PSR1"> |
41 | 44 | <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"> |
|
65 | 68 | <exclude name="Squiz.Commenting.VariableComment.IncorrectVarType"/> |
66 | 69 | <exclude name="Squiz.ControlStructures.InlineIfDeclaration.NoBrackets"/> |
67 | 70 | <exclude name="Squiz.ControlStructures.InlineIfDeclaration.NotSingleLine"/> |
| 71 | + <exclude name="Squiz.ControlStructures.SwitchDeclaration.BreakIndent"/> |
68 | 72 | <exclude name="Squiz.Files.FileExtension.ClassFound"/> |
69 | 73 | <exclude name="Squiz.Formatting.OperatorBracket.MissingBrackets"/> |
70 | 74 | <exclude name="Squiz.NamingConventions.ValidFunctionName.NotCamelCaps"/> |
|
75 | 79 | <exclude name="Squiz.Objects.ObjectInstantiation.NotAssigned"/> |
76 | 80 | <exclude name="Squiz.Operators.ComparisonOperatorUsage.ImplicitTrue"/> |
77 | 81 | <exclude name="Squiz.Operators.ComparisonOperatorUsage.NotAllowed"/> |
| 82 | + <exclude name="Squiz.PHP.DisallowBooleanStatement.Found"/> |
78 | 83 | <exclude name="Squiz.PHP.DisallowComparisonAssignment.AssignedComparison"/> |
79 | 84 | <exclude name="Squiz.PHP.DisallowInlineIf"/> |
80 | 85 | <exclude name="Squiz.PHP.DisallowMultipleAssignments"/> |
|
181 | 186 | <property name="linesCountBetweenDescriptionAndAnnotations" value="1"/> |
182 | 187 | <property name="linesCountBetweenDifferentAnnotationsTypes" value="1"/> |
183 | 188 | </properties> |
| 189 | + <exclude-pattern>*/**/tests</exclude-pattern> |
184 | 190 | </rule> |
185 | 191 |
|
186 | 192 | <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"> |
|
215 | 221 | <exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing"/> |
216 | 222 | </rule> |
217 | 223 |
|
218 | | - <rule ref="Squiz.WhiteSpace.FunctionSpacing"> |
| 224 | + <rule ref="Squiz.Commenting.FunctionComment.MissingParamTag"> |
| 225 | + <exclude-pattern>*/**/tests</exclude-pattern> |
| 226 | + </rule> |
| 227 | + |
| 228 | + <rule ref="Squiz.Commenting.FunctionComment.MissingReturn"> |
| 229 | + <exclude-pattern>*/**/tests</exclude-pattern> |
| 230 | + </rule> |
| 231 | + |
| 232 | + <rule ref="Squiz.Strings.ConcatenationSpacing"> |
219 | 233 | <properties> |
220 | | - <property name="spacingBeforeFirst" value="0"/> |
221 | | - <property name="spacingAfterLast" value="0"/> |
| 234 | + <property name="spacing" value="1"/> |
| 235 | + <property name="ignoreNewlines" value="true"/> |
222 | 236 | </properties> |
223 | 237 | </rule> |
224 | 238 |
|
225 | | - <rule ref="Squiz.WhiteSpace.MemberVarSpacing"> |
| 239 | + <rule ref="Squiz.WhiteSpace.FunctionSpacing"> |
226 | 240 | <properties> |
227 | | - <property name="spacing" value="1"/> |
228 | 241 | <property name="spacingBeforeFirst" value="0"/> |
| 242 | + <property name="spacingAfterLast" value="0"/> |
229 | 243 | </properties> |
230 | 244 | </rule> |
231 | 245 |
|
232 | | - <rule ref="Squiz.Strings.ConcatenationSpacing"> |
| 246 | + <rule ref="Squiz.WhiteSpace.MemberVarSpacing"> |
233 | 247 | <properties> |
234 | 248 | <property name="spacing" value="1"/> |
235 | | - <property name="ignoreNewlines" value="true"/> |
| 249 | + <property name="spacingBeforeFirst" value="0"/> |
236 | 250 | </properties> |
237 | 251 | </rule> |
238 | 252 |
|
|
251 | 265 | <severity>0</severity> |
252 | 266 | </rule> |
253 | 267 | </ruleset> |
254 | | - |
|
0 commit comments