|
94 | 94 | <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
|
95 | 95 | <!-- report invalid format of inline phpDocs with @var -->
|
96 | 96 | <rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration"/>
|
| 97 | + <!-- TODO --> |
| 98 | + <rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment"/> |
97 | 99 | <!-- Forbid useless @inheritDoc comments -->
|
98 | 100 | <rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment"/>
|
99 | 101 | <!-- Forbid assignments in conditions -->
|
|
120 | 122 | <rule ref="SlevomatCodingStandard.ControlStructures.NewWithParentheses"/>
|
121 | 123 | <!-- Require usage of null coalesce operator when possible -->
|
122 | 124 | <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"/>
|
| 125 | + <!-- Require usage of null coalesce equal operator when possible --> |
| 126 | + <rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator"/> |
123 | 127 | <!-- Require usage of ternary operator when possible -->
|
124 | 128 | <rule ref="SlevomatCodingStandard.ControlStructures.RequireTernaryOperator">
|
125 | 129 | <!-- But multiline is useful for readability -->
|
126 | 130 | <properties>
|
127 | 131 | <property name="ignoreMultiline" value="true"/>
|
128 | 132 | </properties>
|
129 | 133 | </rule>
|
| 134 | + <!-- TODO --> |
| 135 | + <rule ref="SlevomatCodingStandard.Functions.UnusedParameter"/> |
| 136 | + <!-- TODO --> |
| 137 | + <rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue"/> |
130 | 138 | <!-- Require global functions to be referenced via a fully qualified name -->
|
131 | 139 | <rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions"/>
|
132 | 140 | <!-- Require static closures for microoptimization -->
|
|
193 | 201 | <severity>0</severity>
|
194 | 202 | </rule>
|
195 | 203 | <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification">
|
196 |
| - <severity>0</severity> |
| 204 | + <severity>9</severity> |
197 | 205 | </rule>
|
198 | 206 | <!-- Require return type hints to be declared -->
|
199 | 207 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
|
|
202 | 210 | </properties>
|
203 | 211 | </rule>
|
204 | 212 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation">
|
205 |
| - <severity>0</severity> |
| 213 | + <severity>9</severity> |
206 | 214 | </rule>
|
| 215 | + <!-- TODO --> |
207 | 216 | <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
|
208 | 217 | <severity>0</severity>
|
209 | 218 | </rule>
|
|
0 commit comments