Skip to content

Commit cdc0d5b

Browse files
simPodgreg0ire
andauthored
Update lib/Doctrine/ruleset.xml
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
1 parent 14c6472 commit cdc0d5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Doctrine/ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,10 @@
313313
<rule ref="SlevomatCodingStandard.ControlStructures.UselessIfConditionWithReturn"/>
314314
<!-- Forbid usage of boolean-only ternary operator usage (e.g. $foo ? true : false) -->
315315
<rule ref="SlevomatCodingStandard.ControlStructures.UselessTernaryOperator"/>
316-
<!-- Forbid useless unreachable catch blocks -->
317-
<rule ref="SlevomatCodingStandard.Exceptions.DeadCatch"/>
318316
<!-- Require catch exception types to be sorted alphabetically -->
319317
<rule ref="SlevomatCodingStandard.Exceptions.CatchExceptionsOrder"/>
318+
<!-- Forbid useless unreachable catch blocks -->
319+
<rule ref="SlevomatCodingStandard.Exceptions.DeadCatch"/>
320320
<!-- Require using Throwable instead of Exception -->
321321
<rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly"/>
322322
<!-- Require non-capturing catch when the variable with exception is not used. -->

0 commit comments

Comments
 (0)