File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 103
103
<rule ref =" SlevomatCodingStandard.Classes.ModernClassNameReference" />
104
104
<!-- report invalid format of inline phpDocs with @var -->
105
105
<rule ref =" SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration" />
106
+ <!-- TODO -->
107
+ <rule ref =" SlevomatCodingStandard.Commenting.UselessFunctionDocComment" />
106
108
<!-- Forbid useless @inheritDoc comments -->
107
109
<rule ref =" SlevomatCodingStandard.Commenting.UselessInheritDocComment" />
108
110
<!-- Forbid assignments in conditions -->
129
131
<rule ref =" SlevomatCodingStandard.ControlStructures.NewWithParentheses" />
130
132
<!-- Require usage of null coalesce operator when possible -->
131
133
<rule ref =" SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" />
134
+ <!-- Require usage of null coalesce equal operator when possible -->
135
+ <rule ref =" SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator" />
132
136
<!-- Require usage of ternary operator when possible -->
133
137
<rule ref =" SlevomatCodingStandard.ControlStructures.RequireTernaryOperator" >
134
138
<!-- But multiline is useful for readability -->
207
211
<severity >0</severity >
208
212
</rule >
209
213
<rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" >
210
- <severity >0 </severity >
214
+ <severity >9 </severity >
211
215
</rule >
212
216
<!-- Require return type hints to be declared -->
213
217
<rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint" >
217
221
</properties >
218
222
</rule >
219
223
<rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation" >
220
- <severity >0 </severity >
224
+ <severity >9 </severity >
221
225
</rule >
226
+ <!-- TODO -->
222
227
<rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" >
223
228
<severity >0</severity >
224
229
</rule >
You can’t perform that action at this time.
0 commit comments