Skip to content

Commit ed987d4

Browse files
committed
Use Slevomat.Classes.DisallowMultiPropertyDefinition
1 parent 34faa2f commit ed987d4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Symfony/ruleset.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@
1010
<!-- Include the whole PSR-1 standard -->
1111
<rule ref="PSR1"/>
1212
<!-- Include the whole PSR-2 standard -->
13-
<rule ref="PSR2"/>
13+
<rule ref="PSR2">
14+
<!-- SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition supports autofixing -->
15+
<exclude name="PSR2.Classes.PropertyDeclaration.Multiple"/>
16+
</rule>
17+
<!-- Forbid multi property definition -->
18+
<rule ref="SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition" />
1419
<!--
15-
1620
See the [documented coding standard](http://symfony.com/doc/current/contributing/code/standards.html)
1721
-->
1822

0 commit comments

Comments
 (0)