11diff --git a/tests/expected_report.txt b/tests/expected_report.txt
2- index 1d5a7d3..e9394b1 100644
2+ index 53dada5..d53fd48 100644
33--- a/tests/expected_report.txt
44+++ b/tests/expected_report.txt
5- @@ -14,23 +14,25 @@ tests/input/constants-var.php 7 0
5+ @@ -14,23 +14,26 @@ tests/input/constants-var.php 7 0
66 tests/input/ControlStructures.php 28 0
77 tests/input/doc-comment-spacing.php 11 0
88 tests/input/duplicate-assignment-variable.php 1 0
@@ -11,6 +11,7 @@ index 1d5a7d3..e9394b1 100644
1111+ tests/input/EarlyReturn.php 7 0
1212+ tests/input/example-class.php 43 0
1313+ tests/input/ExampleBackedEnum.php 3 0
14+ + tests/input/Exceptions.php 1 0
1415 tests/input/forbidden-comments.php 14 0
1516 tests/input/forbidden-functions.php 6 0
1617 tests/input/inline_type_hint_assertions.php 7 0
@@ -36,7 +37,7 @@ index 1d5a7d3..e9394b1 100644
3637 tests/input/semicolon_spacing.php 3 0
3738 tests/input/single-line-array-spacing.php 5 0
3839 tests/input/spread-operator.php 6 0
39- @@ -39,16 +41 ,17 @@ tests/input/strings.php 1 0
40+ @@ -39,16 +42 ,17 @@ tests/input/strings.php 1 0
4041 tests/input/superfluous-naming.php 11 0
4142 tests/input/test-case.php 8 0
4243 tests/input/trailing_comma_on_array.php 1 0
@@ -51,13 +52,26 @@ index 1d5a7d3..e9394b1 100644
5152+ tests/input/UselessConditions.php 21 0
5253 ----------------------------------------------------------------------
5354- A TOTAL OF 382 ERRORS AND 0 WARNINGS WERE FOUND IN 42 FILES
54- + A TOTAL OF 427 ERRORS AND 0 WARNINGS WERE FOUND IN 45 FILES
55+ + A TOTAL OF 428 ERRORS AND 0 WARNINGS WERE FOUND IN 46 FILES
5556 ----------------------------------------------------------------------
5657- PHPCBF CAN FIX 317 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
57- + PHPCBF CAN FIX 362 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
58+ + PHPCBF CAN FIX 363 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
5859 ----------------------------------------------------------------------
5960
6061
62+ diff --git a/tests/fixed/ControlStructures.php b/tests/fixed/ControlStructures.php
63+ index a653086..f8f7f65 100644
64+ --- a/tests/fixed/ControlStructures.php
65+ +++ b/tests/fixed/ControlStructures.php
66+ @@ -104,7 +104,7 @@ class ControlStructures
67+
68+ try {
69+ echo 4;
70+ - } catch (Throwable $throwable) {
71+ + } catch (Throwable) {
72+ }
73+
74+ echo 5;
6175diff --git a/tests/fixed/EarlyReturn.php b/tests/fixed/EarlyReturn.php
6276index caf1dbb..fc734db 100644
6377--- a/tests/fixed/EarlyReturn.php
@@ -83,6 +97,22 @@ index fe54eb9..cc38c54 100644
8397+ enum ExampleBackedEnum: int
8498+ {
8599+ }
100+ diff --git a/tests/fixed/Exceptions.php b/tests/fixed/Exceptions.php
101+ index 9b146c6..db7408b 100644
102+ --- a/tests/fixed/Exceptions.php
103+ +++ b/tests/fixed/Exceptions.php
104+ @@ -3,3 +3,11 @@
105+ declare(strict_types=1);
106+
107+ namespace Exceptions;
108+ +
109+ + use Exception;
110+ + use Throwable;
111+ +
112+ + try {
113+ + throw new Exception();
114+ + } catch (Throwable) {
115+ + }
86116diff --git a/tests/fixed/NamingCamelCase.php b/tests/fixed/NamingCamelCase.php
87117index 57d9f2b..5493471 100644
88118--- a/tests/fixed/NamingCamelCase.php
@@ -408,6 +438,19 @@ index 10e6f34..5e26ed8 100644
408438- private $x = 1;
409439+ private int|string|null $x = 1;
410440 }
441+ diff --git a/tests/input/ControlStructures.php b/tests/input/ControlStructures.php
442+ index a0e0b2e..73944e3 100644
443+ --- a/tests/input/ControlStructures.php
444+ +++ b/tests/input/ControlStructures.php
445+ @@ -93,7 +93,7 @@ class ControlStructures
446+ }
447+ try {
448+ echo 4;
449+ - } catch (Throwable $throwable) {
450+ + } catch (Throwable) {
451+ }
452+ echo 5;
453+ }
411454diff --git a/tests/input/ExampleBackedEnum.php b/tests/input/ExampleBackedEnum.php
412455index fe54eb9..0c47286 100644
413456--- a/tests/input/ExampleBackedEnum.php
@@ -420,6 +463,22 @@ index fe54eb9..0c47286 100644
420463+ enum ExampleBackedEnum : int
421464+ {
422465+ }
466+ diff --git a/tests/input/Exceptions.php b/tests/input/Exceptions.php
467+ index 9b146c6..3aaa30f 100644
468+ --- a/tests/input/Exceptions.php
469+ +++ b/tests/input/Exceptions.php
470+ @@ -3,3 +3,11 @@
471+ declare(strict_types=1);
472+
473+ namespace Exceptions;
474+ +
475+ + use Exception;
476+ + use Throwable;
477+ +
478+ + try {
479+ + throw new Exception();
480+ + } catch (Throwable $throwable) {
481+ + }
423482diff --git a/tests/input/PropertyDeclaration.php b/tests/input/PropertyDeclaration.php
424483index 0891e12..acdc445 100644
425484--- a/tests/input/PropertyDeclaration.php
0 commit comments