Skip to content

Commit 8d6d39b

Browse files
authored
Merge pull request #7 from leviy/enforce-psr12-imports
Enforce the PSR-12 order of use statements
2 parents 3997268 + 2de29f2 commit 8d6d39b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/LEVIY/ruleset.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@
5656
<property name="searchAnnotations" value="true"/>
5757
</properties>
5858
</rule>
59-
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
59+
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
60+
<properties>
61+
<property name="psr12Compatible" value="true"/>
62+
</properties>
63+
</rule>
6064

6165
<!-- Use PHP native type hints whenever possible. Use docblocks only when
6266
the use of native type hints is impossible. -->

0 commit comments

Comments
 (0)