Skip to content

Commit 3e388b5

Browse files
committed
Require Non-capturing catch
1 parent 7087793 commit 3e388b5

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
@@ -8,6 +8,7 @@
88
<rule ref="Cdn77"/>
99

1010
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator" />
11+
<rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch" />
1112
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration" />
1213
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
1314
<properties>

0 commit comments

Comments
 (0)