Skip to content

Commit 52eb47c

Browse files
committed
Prevent errors on unused imports in annotations
1 parent b4dffa0 commit 52eb47c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ruleset.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
<exclude name="SlevomatCodingStandard.Commenting.DisallowOneLinePropertyDocComment"/>
2323
</rule>
2424

25+
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses.UnusedUse">
26+
<properties>
27+
<property name="searchAnnotations" value="true"/>
28+
</properties>
29+
</rule>
30+
2531
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration">
2632
<properties>
2733
<property name="enableObjectTypeHint" value="true"/>

0 commit comments

Comments
 (0)