Configuring space between use sections to be PSR-12 compliant
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/code-style Pipeline was successful

This commit is contained in:
Ferdinand Kuhl 2022-09-12 13:59:57 +02:00
parent 8fefef5a7f
commit 26762ba2ea

View file

@ -45,7 +45,11 @@
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace" />
<rule ref="SlevomatCodingStandard.Namespaces.UselessAlias" />
<rule ref="SlevomatCodingStandard.Namespaces.UseSpacing" />
<rule ref="SlevomatCodingStandard.Namespaces.UseSpacing"><!-- PSR12 requires these new lines -->
<properties>
<property name="linesCountBetweenUseTypes" value="1" />
</properties>
</rule>
<!-- Duplicate spaces are needed for indentation in Doctrine annotations -->
<rule ref="SlevomatCodingStandard.Whitespaces.DuplicateSpaces">