Skip to content

Commit 26f1806

Browse files
committed
add some stuff
1 parent 9243138 commit 26f1806

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

MO4/ruleset.xml

+11-2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
7878
<!-- report invalid format of inline phpDocs with @var -->
7979
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration"/>
80+
<!-- TODO -->
81+
<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment" />
82+
<!-- TODO -->
83+
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment" />
8084
<!-- Forbid assignments in conditions -->
8185
<rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition"/>
8286
<!-- Require consistent spacing for control structures -->
@@ -108,6 +112,10 @@
108112
<property name="ignoreMultiline" value="true"/>
109113
</properties>
110114
</rule>
115+
<!-- TODO -->
116+
<rule ref="SlevomatCodingStandard.Functions.UnusedParameter" />
117+
<!-- TODO -->
118+
<rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue" />
111119
<!-- Require global functions to be referenced via a fully qualified name -->
112120
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions"/>
113121
<!-- Forbid multiple use statements on same line -->
@@ -164,7 +172,7 @@
164172
<severity>0</severity>
165173
</rule>
166174
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification">
167-
<severity>0</severity>
175+
<severity>9</severity>
168176
</rule>
169177
<!-- Require return type hints to be declared -->
170178
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
@@ -173,8 +181,9 @@
173181
</properties>
174182
</rule>
175183
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation">
176-
<severity>0</severity>
184+
<severity>9</severity>
177185
</rule>
186+
<!-- TODO -->
178187
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
179188
<severity>0</severity>
180189
</rule>

0 commit comments

Comments
 (0)