Skip to content

Commit 68a5422

Browse files
committed
add some stuff
1 parent c2d651c commit 68a5422

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

MO4/ruleset.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@
103103
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
104104
<!-- report invalid format of inline phpDocs with @var -->
105105
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration"/>
106+
<!-- TODO -->
107+
<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment"/>
106108
<!-- Forbid useless @inheritDoc comments -->
107109
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment"/>
108110
<!-- Forbid assignments in conditions -->
@@ -129,6 +131,8 @@
129131
<rule ref="SlevomatCodingStandard.ControlStructures.NewWithParentheses"/>
130132
<!-- Require usage of null coalesce operator when possible -->
131133
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"/>
134+
<!-- Require usage of null coalesce equal operator when possible -->
135+
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator"/>
132136
<!-- Require usage of ternary operator when possible -->
133137
<rule ref="SlevomatCodingStandard.ControlStructures.RequireTernaryOperator">
134138
<!-- But multiline is useful for readability -->
@@ -207,7 +211,7 @@
207211
<severity>0</severity>
208212
</rule>
209213
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification">
210-
<severity>0</severity>
214+
<severity>9</severity>
211215
</rule>
212216
<!-- Require return type hints to be declared -->
213217
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
@@ -217,8 +221,9 @@
217221
</properties>
218222
</rule>
219223
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation">
220-
<severity>0</severity>
224+
<severity>9</severity>
221225
</rule>
226+
<!-- TODO -->
222227
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
223228
<severity>0</severity>
224229
</rule>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy