@@ -15,7 +15,7 @@ index 8547171..f01ece0 100644
1515- tests/input/EarlyReturn.php 8 0
1616- tests/input/example-class.php 49 0
1717- tests/input/ExampleBackedEnum.php 5 0
18- - tests/input/Exceptions.php 1 0
18+ - tests/input/Exceptions.php 2 0
1919+ tests/input/EarlyReturn.php 7 0
2020+ tests/input/example-class.php 44 0
2121 tests/input/forbidden-comments.php 14 0
@@ -57,11 +57,11 @@ index 8547171..f01ece0 100644
5757- tests/input/UselessConditions.php 21 0
5858+ tests/input/UselessConditions.php 20 0
5959 ----------------------------------------------------------------------
60- - A TOTAL OF 486 ERRORS AND 2 WARNINGS WERE FOUND IN 52 FILES
61- + A TOTAL OF 435 ERRORS AND 2 WARNINGS WERE FOUND IN 48 FILES
60+ - A TOTAL OF 483 ERRORS AND 2 WARNINGS WERE FOUND IN 52 FILES
61+ + A TOTAL OF 434 ERRORS AND 2 WARNINGS WERE FOUND IN 48 FILES
6262 ----------------------------------------------------------------------
63- - PHPCBF CAN FIX 400 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
64- + PHPCBF CAN FIX 350 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
63+ - PHPCBF CAN FIX 397 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
64+ + PHPCBF CAN FIX 349 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
6565 ----------------------------------------------------------------------
6666diff --git a/tests/fixed/ClassKeywordOrder.php b/tests/fixed/ClassKeywordOrder.php
6767index 29f6164..4b28352 100644
@@ -142,21 +142,28 @@ index fd701eb..fe54eb9 100644
142142- case BAM = 1234;
143143- }
144144diff --git a/tests/fixed/Exceptions.php b/tests/fixed/Exceptions.php
145- index db7408b ..9b146c6 100644
145+ index eba1df2 ..9b146c6 100644
146146--- a/tests/fixed/Exceptions.php
147147+++ b/tests/fixed/Exceptions.php
148- @@ -3,11 +3,3 @@
148+ @@ -3,18 +3,3 @@
149149 declare(strict_types=1);
150150
151151 namespace Exceptions;
152152-
153153- use Exception;
154+ - use LogicException;
155+ - use RuntimeException;
154156- use Throwable;
155157-
156158- try {
157159- throw new Exception();
158160- } catch (Throwable) {
159161- }
162+ -
163+ - try {
164+ - throw new LogicException();
165+ - } catch (LogicException | RuntimeException) {
166+ - }
160167diff --git a/tests/fixed/NamingCamelCase.php b/tests/fixed/NamingCamelCase.php
161168index 5493471..57d9f2b 100644
162169--- a/tests/fixed/NamingCamelCase.php
@@ -466,21 +473,28 @@ index 3b09f47..fe54eb9 100644
466473- case BAM = 1234;
467474- }
468475diff --git a/tests/input/Exceptions.php b/tests/input/Exceptions.php
469- index 3aaa30f ..9b146c6 100644
476+ index 048b7fb ..9b146c6 100644
470477--- a/tests/input/Exceptions.php
471478+++ b/tests/input/Exceptions.php
472- @@ -3,11 +3,3 @@
479+ @@ -3,18 +3,3 @@
473480 declare(strict_types=1);
474481
475482 namespace Exceptions;
476483-
477484- use Exception;
485+ - use LogicException;
486+ - use RuntimeException;
478487- use Throwable;
479488-
480489- try {
481490- throw new Exception();
482491- } catch (Throwable $throwable) {
483492- }
493+ -
494+ - try {
495+ - throw new LogicException();
496+ - } catch (RuntimeException | LogicException) {
497+ - }
484498diff --git a/tests/input/PropertyDeclaration.php b/tests/input/PropertyDeclaration.php
485499index acdc445..0891e12 100644
486500--- a/tests/input/PropertyDeclaration.php
0 commit comments