11diff --git a/tests/expected_report.txt b/tests/expected_report.txt
2- index 1d5a7d3..a10bb10 100644
2+ index 1d5a7d3..e9394b1 100644
33--- a/tests/expected_report.txt
44+++ b/tests/expected_report.txt
5- @@ -14,23 +14,24 @@ tests/input/constants-var.php 6 0
5+ @@ -14,23 +14,25 @@ tests/input/constants-var.php 6 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
99- tests/input/EarlyReturn.php 6 0
1010- tests/input/example-class.php 38 0
1111+ tests/input/EarlyReturn.php 7 0
1212+ tests/input/example-class.php 43 0
13+ + tests/input/ExampleBackedEnum.php 3 0
1314 tests/input/forbidden-comments.php 14 0
1415 tests/input/forbidden-functions.php 6 0
1516 tests/input/inline_type_hint_assertions.php 7 0
@@ -35,7 +36,7 @@ index 1d5a7d3..a10bb10 100644
3536 tests/input/semicolon_spacing.php 3 0
3637 tests/input/single-line-array-spacing.php 5 0
3738 tests/input/spread-operator.php 6 0
38- @@ -39,16 +40 ,17 @@ tests/input/strings.php 1 0
39+ @@ -39,16 +41 ,17 @@ tests/input/strings.php 1 0
3940 tests/input/superfluous-naming.php 11 0
4041 tests/input/test-case.php 8 0
4142 tests/input/trailing_comma_on_array.php 1 0
@@ -50,10 +51,10 @@ index 1d5a7d3..a10bb10 100644
5051+ tests/input/UselessConditions.php 21 0
5152 ----------------------------------------------------------------------
5253- A TOTAL OF 381 ERRORS AND 0 WARNINGS WERE FOUND IN 42 FILES
53- + A TOTAL OF 423 ERRORS AND 0 WARNINGS WERE FOUND IN 44 FILES
54+ + A TOTAL OF 426 ERRORS AND 0 WARNINGS WERE FOUND IN 45 FILES
5455 ----------------------------------------------------------------------
5556- PHPCBF CAN FIX 315 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
56- + PHPCBF CAN FIX 357 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
57+ + PHPCBF CAN FIX 360 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
5758 ----------------------------------------------------------------------
5859
5960
@@ -70,6 +71,18 @@ index caf1dbb..fc734db 100644
7071 {
7172 foreach ($items as $item) {
7273 if (! $item->isItem()) {
74+ diff --git a/tests/fixed/ExampleBackedEnum.php b/tests/fixed/ExampleBackedEnum.php
75+ index fe54eb9..cc38c54 100644
76+ --- a/tests/fixed/ExampleBackedEnum.php
77+ +++ b/tests/fixed/ExampleBackedEnum.php
78+ @@ -3,3 +3,7 @@
79+ declare(strict_types=1);
80+
81+ namespace ExampleBackedEnum;
82+ +
83+ + enum ExampleBackedEnum: int
84+ + {
85+ + }
7386diff --git a/tests/fixed/NamingCamelCase.php b/tests/fixed/NamingCamelCase.php
7487index 57d9f2b..5493471 100644
7588--- a/tests/fixed/NamingCamelCase.php
@@ -395,6 +408,18 @@ index 10e6f34..5e26ed8 100644
395408- private $x = 1;
396409+ private int|string|null $x = 1;
397410 }
411+ diff --git a/tests/input/ExampleBackedEnum.php b/tests/input/ExampleBackedEnum.php
412+ index fe54eb9..0c47286 100644
413+ --- a/tests/input/ExampleBackedEnum.php
414+ +++ b/tests/input/ExampleBackedEnum.php
415+ @@ -3,3 +3,7 @@
416+ declare(strict_types=1);
417+
418+ namespace ExampleBackedEnum;
419+ +
420+ + enum ExampleBackedEnum : int
421+ + {
422+ + }
398423diff --git a/tests/input/PropertyDeclaration.php b/tests/input/PropertyDeclaration.php
399424index 0891e12..acdc445 100644
400425--- a/tests/input/PropertyDeclaration.php
0 commit comments