File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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. -->
You can’t perform that action at this time.
0 commit comments