|
244 | 244 | <severity>5</severity><!-- turned off by PSR2 -> turning on with default severity -->
|
245 | 245 | </rule>
|
246 | 246 |
|
| 247 | + <rule ref="SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed"/> |
247 | 248 | <rule ref="SlevomatCodingStandard.Arrays.TrailingArrayComma"/>
|
| 249 | + <rule ref="SlevomatCodingStandard.Classes.BackedEnumTypeSpacing"/> |
248 | 250 | <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference">
|
249 | 251 | <exclude name="SlevomatCodingStandard.Classes.ModernClassNameReference.ClassNameReferencedViaFunctionCall"/> <!-- after bumping to PHP8 -->
|
250 | 252 | </rule>
|
|
266 | 268 | <rule ref="SlevomatCodingStandard.Classes.DisallowLateStaticBindingForConstants" />
|
267 | 269 | <rule ref="SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition" />
|
268 | 270 | <rule ref="SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition" />
|
| 271 | + <rule ref="SlevomatCodingStandard.Classes.DisallowStringExpressionPropertyFetch"/> |
269 | 272 | <rule ref="SlevomatCodingStandard.Classes.MethodSpacing" />
|
270 | 273 | <rule ref="SlevomatCodingStandard.Classes.EmptyLinesAroundClassBraces"/>
|
271 | 274 | <rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration" />
|
272 | 275 | <rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration" />
|
273 | 276 | <rule ref="SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature"/>
|
274 | 277 | <rule ref="SlevomatCodingStandard.Classes.TraitUseSpacing" />
|
275 | 278 | <rule ref="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion" />
|
| 279 | + <rule ref="SlevomatCodingStandard.Commenting.AnnotationName"/> |
276 | 280 | <rule ref="SlevomatCodingStandard.Commenting.DocCommentSpacing">
|
277 | 281 | <properties>
|
278 | 282 | <property name="linesCountBeforeFirstContent" value="0"/>
|
|
298 | 302 | <rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition"/>
|
299 | 303 | <rule ref="SlevomatCodingStandard.ControlStructures.LanguageConstructWithParentheses"/>
|
300 | 304 | <rule ref="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison"/>
|
| 305 | + <rule ref="SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator"/> |
301 | 306 | <rule ref="SlevomatCodingStandard.ControlStructures.NewWithParentheses"/>
|
302 | 307 | <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"/>
|
303 | 308 | <rule ref="SlevomatCodingStandard.Exceptions.DeadCatch"/>
|
304 |
| - <rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch"/> |
| 309 | + <rule ref="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch"/> |
305 | 310 | <rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly"/>
|
306 | 311 | <rule ref="SlevomatCodingStandard.Functions.DisallowNamedArguments"/>
|
| 312 | + <rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse"> |
| 313 | + <properties> |
| 314 | + <property name="onlySingleLine" value="true"/> |
| 315 | + </properties> |
| 316 | + </rule> |
| 317 | + <rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration"> |
| 318 | + <properties> |
| 319 | + <property name="onlySingleLine" value="true"/> |
| 320 | + </properties> |
| 321 | + </rule> |
| 322 | + <rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall"> |
| 323 | + <properties> |
| 324 | + <property name="onlySingleLine" value="true"/> |
| 325 | + </properties> |
| 326 | + </rule> |
| 327 | + <rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse"/> |
307 | 328 | <rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall"/>
|
308 | 329 | <rule ref="SlevomatCodingStandard.Functions.StaticClosure"/>
|
309 | 330 | <rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue"/>
|
|
353 | 374 | <rule ref="SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking"/>
|
354 | 375 | <rule ref="SlevomatCodingStandard.PHP.ReferenceSpacing"/>
|
355 | 376 | <rule ref="SlevomatCodingStandard.PHP.RequireNowdoc"/>
|
| 377 | + <rule ref="SlevomatCodingStandard.Strings.DisallowVariableParsing"/> |
356 | 378 | <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
|
357 | 379 | <properties>
|
358 | 380 | <property name="declareOnFirstLine" value="true"/>
|
|
394 | 416 | <rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/>
|
395 | 417 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
|
396 | 418 | <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
|
| 419 | + <rule ref="SlevomatCodingStandard.Variables.DisallowVariableVariable"/> |
397 | 420 | <rule ref="SlevomatCodingStandard.Variables.DuplicateAssignmentToVariable"/>
|
398 | 421 | <rule ref="SlevomatCodingStandard.Variables.UnusedVariable">
|
399 | 422 | <properties>
|
|
0 commit comments