|
26 | 26 | <exclude-pattern>*/libraries/classes/Plugins/Transformations/*</exclude-pattern> |
27 | 27 | </rule> |
28 | 28 |
|
29 | | - <rule ref="Squiz.PHP.GlobalKeyword"/> |
30 | | - |
31 | 29 | <!-- Rules that should be followed, but are not required --> |
| 30 | + <rule ref="SlevomatCodingStandard.Classes.ConstantSpacing.IncorrectCountOfBlankLinesAfterConstant"> |
| 31 | + <severity>4</severity> |
| 32 | + </rule> |
| 33 | + <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference.ClassNameReferencedViaFunctionCall"> |
| 34 | + <severity>4</severity> |
| 35 | + </rule> |
| 36 | + <rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing.IncorrectLinesCountAfterControlStructure"> |
| 37 | + <severity>4</severity> |
| 38 | + </rule> |
| 39 | + <rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing.IncorrectLinesCountBeforeControlStructure"> |
| 40 | + <severity>4</severity> |
| 41 | + </rule> |
| 42 | + <rule ref="SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion.RequiredConstructorPropertyPromotion"> |
| 43 | + <severity>4</severity> |
| 44 | + </rule> |
| 45 | + <rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat"> |
| 46 | + <severity>4</severity> |
| 47 | + </rule> |
| 48 | + <rule ref="SlevomatCodingStandard.Commenting.RequireOneLineDocComment.MultiLineDocComment"> |
| 49 | + <severity>4</severity> |
| 50 | + </rule> |
| 51 | + <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator.RequiredNullCoalesceEqualOperator"> |
| 52 | + <severity>4</severity> |
| 53 | + </rule> |
| 54 | + <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator.RequiredNullSafeObjectOperator"> |
| 55 | + <severity>4</severity> |
| 56 | + </rule> |
| 57 | + <rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall.MissingTrailingComma"> |
| 58 | + <severity>4</severity> |
| 59 | + </rule> |
| 60 | + <rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration.MissingTrailingComma"> |
| 61 | + <severity>4</severity> |
| 62 | + </rule> |
32 | 63 | <rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators"> |
33 | 64 | <severity>4</severity> |
34 | 65 | </rule> |
|
38 | 69 | <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification"> |
39 | 70 | <severity>4</severity> |
40 | 71 | </rule> |
| 72 | + <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint"> |
| 73 | + <severity>4</severity> |
| 74 | + </rule> |
41 | 75 | <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification"> |
42 | 76 | <severity>4</severity> |
43 | 77 | </rule> |
|
47 | 81 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"> |
48 | 82 | <severity>4</severity> |
49 | 83 | </rule> |
| 84 | + <rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.DisallowedShortNullable"> |
| 85 | + <severity>4</severity> |
| 86 | + </rule> |
| 87 | + <rule ref="SlevomatCodingStandard.PHP.RequireNowdoc.RequiredNowdoc"> |
| 88 | + <severity>4</severity> |
| 89 | + </rule> |
| 90 | + <rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch.NonCapturingCatchRequired"> |
| 91 | + <severity>4</severity> |
| 92 | + </rule> |
50 | 93 | <rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"> |
51 | 94 | <severity>4</severity> |
52 | 95 | </rule> |
|
0 commit comments