@@ -13,7 +13,7 @@ index 8547171..f01ece0 100644
1313 tests/input/doc-comment-spacing.php 11 0
1414 tests/input/duplicate-assignment-variable.php 1 0
1515- tests/input/EarlyReturn.php 8 0
16- - tests/input/example-class.php 48 0
16+ - tests/input/example-class.php 49 0
1717- tests/input/ExampleBackedEnum.php 5 0
1818- tests/input/Exceptions.php 1 0
1919+ tests/input/EarlyReturn.php 7 0
@@ -49,19 +49,19 @@ index 8547171..f01ece0 100644
4949- tests/input/TrailingCommaOnFunctions.php 6 0
5050+ tests/input/TrailingCommaOnFunctions.php 2 0
5151 tests/input/traits-uses.php 12 0
52- - tests/input/type-hints.php 9 0
53- + tests/input/type-hints.php 8 0
52+ - tests/input/type-hints.php 12 0
53+ + tests/input/type-hints.php 9 0
5454 tests/input/UnusedVariables.php 1 0
5555 tests/input/use-ordering.php 2 0
5656 tests/input/useless-semicolon.php 2 0
5757- tests/input/UselessConditions.php 21 0
5858+ tests/input/UselessConditions.php 20 0
5959 ----------------------------------------------------------------------
60- - A TOTAL OF 482 ERRORS AND 2 WARNINGS WERE FOUND IN 52 FILES
61- + A TOTAL OF 434 ERRORS AND 2 WARNINGS WERE FOUND IN 48 FILES
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
6262 ----------------------------------------------------------------------
63- - PHPCBF CAN FIX 396 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
64- + PHPCBF CAN FIX 349 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
63+ - PHPCBF CAN FIX 400 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
64+ + PHPCBF CAN FIX 350 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
6565 ----------------------------------------------------------------------
6666diff --git a/tests/fixed/ClassKeywordOrder.php b/tests/fixed/ClassKeywordOrder.php
6767index 29f6164..4b28352 100644
@@ -409,14 +409,19 @@ diff --git a/tests/fixed/type-hints.php b/tests/fixed/type-hints.php
409409index 5e26ed8..bfa6d4f 100644
410410--- a/tests/fixed/type-hints.php
411411+++ b/tests/fixed/type-hints.php
412- @@ -25,5 +25,6 @@ class TraversableTypeHints
413-
412+ @@ -26,7 +26,8 @@
414413 class UnionTypeHints
415414 {
416415- private int|string|null $x = 1;
416+ -
417+ - /** @param array<int|string|null> $value */
418+ - public function set(array $value): void
417419+ /** @var int|string|null */
418420+ private $x = 1;
419- }
421+ +
422+ + /** @param array<int|string|null> $value */
423+ + public function set(array $value): void
424+ {
420425diff --git a/tests/input/ControlStructures.php b/tests/input/ControlStructures.php
421426index 7c20d0e..a0e0b2e 100644
422427--- a/tests/input/ControlStructures.php
0 commit comments