Skip to content

Commit 472d08f

Browse files
committed
Require arrow functions
1 parent 3e56b9a commit 472d08f

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
@@ -10,6 +10,7 @@
1010
<rule ref="SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion" />
1111
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator" />
1212
<rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch" />
13+
<rule ref="SlevomatCodingStandard.Functions.RequireArrowFunction" />
1314
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration" />
1415
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
1516
<properties>

0 commit comments

Comments
 (0)