Skip to content

Commit

Permalink
Make Namespaces.UseSpacing PSR-12 compatiable
Browse files Browse the repository at this point in the history
From https://www.php-fig.org/psr/psr-12/:
The header of a PHP file may consist of a number of different blocks. If present, each of the blocks below MUST be separated by a single blank line
  • Loading branch information
alies-dev committed Dec 26, 2023
1 parent 3c1778f commit 3305c57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion IxDFCodingStandard/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,11 @@
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/>
<rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace"/>
<rule ref="SlevomatCodingStandard.Namespaces.UseSpacing"/>
<rule ref="SlevomatCodingStandard.Namespaces.UseSpacing">
<properties>
<property name="linesCountBetweenUseTypes" value="1"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.UselessAlias"/>
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators"/>
<rule ref="SlevomatCodingStandard.Operators.NegationOperatorSpacing"/>
Expand Down

0 comments on commit 3305c57

Please sign in to comment.