Skip to content

Commit 828bdcd

Browse files
authored
Allow NonCapturingCatch
...by disabling rule SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch.DisallowedNonCapturingCatch
1 parent 3ce4828 commit 828bdcd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ProjektMOTORCodingStandard/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
<!-- keep it for debugging reasons to be able to list all rules vendor/bin/phpcs -e | grep SlevomatCodingStandard -->
2424
<!--<exclude name="*" />-->
2525

26+
27+
<exclude name="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch.DisallowedNonCapturingCatch" />
2628
<exclude name="SlevomatCodingStandard.Classes.RequireAbstractOrFinal.ClassNeitherAbstractNorFinal" />
2729
<exclude name="SlevomatCodingStandard.Files.FunctionLength.FunctionLength" />
2830
<exclude name="SlevomatCodingStandard.Functions.FunctionLength.FunctionLength" />

0 commit comments

Comments
 (0)