Skip to content

Commit 110d986

Browse files
authored
Repair rulesets (#64)
1 parent c402982 commit 110d986

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

src/Hostnet/ruleset.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@
134134
</rule>
135135

136136
<!-- report invalid format of inline phpDocs with @var -->
137-
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration"/>
137+
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration">
138+
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable"/>
139+
</rule>
138140

139141
<!-- Require language constructs without parentheses -->
140142
<rule ref="SlevomatCodingStandard.ControlStructures.LanguageConstructWithParentheses"/>

src/HostnetExperimental/ruleset.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
<property name="searchAnnotations" value="true"/>
1111
</properties>
1212
</rule>
13-
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration">
14-
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint"/>
15-
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingPropertyTypeHint"/>
16-
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification"/>
17-
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversablePropertyTypeHintSpecification"/>
18-
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableReturnTypeHintSpecification"/>
19-
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.UselessDocComment"/>
13+
<rule ref="SlevomatCodingStandard.TypeHints">
14+
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint"/>
15+
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint"/>
16+
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"/>
17+
<exclude name="SlevomatCodingStandard.TypeHints.DisallowArrayTypeHintSyntax.DisallowedArrayTypeHintSyntax"/>
18+
<exclude name="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue.NullabilityTypeMissing"/>
19+
<exclude name="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint.DisallowedMixedTypeHint"/>
20+
<exclude name="SlevomatCodingStandard.Commenting.UselessFunctionDocComment"/>
2021
</rule>
2122
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment"/>
2223
</ruleset>

0 commit comments

Comments
 (0)