|
83 | 83 | <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
|
84 | 84 | <!-- report invalid format of inline phpDocs with @var -->
|
85 | 85 | <rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration"/>
|
| 86 | + <!-- TODO --> |
| 87 | + <rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment" /> |
86 | 88 | <!-- Forbid useless @inheritDoc comments -->
|
87 | 89 | <rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment"/>
|
88 | 90 | <!-- Forbid assignments in conditions -->
|
|
109 | 111 | <rule ref="SlevomatCodingStandard.ControlStructures.NewWithParentheses"/>
|
110 | 112 | <!-- Require usage of null coalesce operator when possible -->
|
111 | 113 | <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"/>
|
| 114 | + <!-- Require usage of null coalesce equal operator when possible --> |
| 115 | + <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator"/> |
112 | 116 | <!-- Require usage of ternary operator when possible -->
|
113 | 117 | <rule ref="SlevomatCodingStandard.ControlStructures.RequireTernaryOperator">
|
114 | 118 | <!-- But multiline is useful for readability -->
|
115 | 119 | <properties>
|
116 | 120 | <property name="ignoreMultiline" value="true"/>
|
117 | 121 | </properties>
|
118 | 122 | </rule>
|
| 123 | + <!-- TODO --> |
| 124 | + <rule ref="SlevomatCodingStandard.Functions.UnusedParameter" /> |
| 125 | + <!-- TODO --> |
| 126 | + <rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue" /> |
119 | 127 | <!-- Require global functions to be referenced via a fully qualified name -->
|
120 | 128 | <rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions"/>
|
121 | 129 | <!-- Require static closures for microoptimization -->
|
|
174 | 182 | <severity>0</severity>
|
175 | 183 | </rule>
|
176 | 184 | <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification">
|
177 |
| - <severity>0</severity> |
| 185 | + <severity>9</severity> |
178 | 186 | </rule>
|
179 | 187 | <!-- Require return type hints to be declared -->
|
180 | 188 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
|
|
183 | 191 | </properties>
|
184 | 192 | </rule>
|
185 | 193 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation">
|
186 |
| - <severity>0</severity> |
| 194 | + <severity>9</severity> |
187 | 195 | </rule>
|
| 196 | + <!-- TODO --> |
188 | 197 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
|
189 | 198 | <severity>0</severity>
|
190 | 199 | </rule>
|
|
0 commit comments