Skip to content

Commit 3e56b9a

Browse files
committed
Require Property promotion in constructors
1 parent 3e388b5 commit 3e56b9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpcs.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<rule ref="Cdn77"/>
99

10+
<rule ref="SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion" />
1011
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator" />
1112
<rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch" />
1213
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration" />

0 commit comments

Comments
 (0)