Skip to content

Commit

Permalink
MNT Allow use statements that are only used in annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jan 14, 2024
1 parent 368339c commit 10dd30f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@
<rule ref="SlevomatCodingStandard.Exceptions.DeadCatch" />
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly" />
<rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace" />
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses" />
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
<properties>
<property name="searchAnnotations" type="bool" value="true" />
</properties>
</rule>

<!-- Method bodies must at least have a comment - if no-op, use "// ..." -->
<rule ref="SlevomatCodingStandard.Functions.DisallowEmptyFunction" />
Expand Down

0 comments on commit 10dd30f

Please sign in to comment.