11diff --git a/tests/expected_report.txt b/tests/expected_report.txt
2- index 476a58b..54630dd 100644
2+ index 1d5a7d3..86e94e3 100644
33--- a/tests/expected_report.txt
44+++ b/tests/expected_report.txt
5- @@ -14,41 +14,43 @@ tests/input/constants-var.php 6 0
5+ @@ -14,23 +14,24 @@ 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
@@ -29,14 +29,13 @@ index 476a58b..54630dd 100644
2929- tests/input/PropertyDeclaration.php 6 0
3030- tests/input/return_type_on_closures.php 21 0
3131- tests/input/return_type_on_methods.php 17 0
32- + tests/input/PropertyDeclaration.php 7 0
32+ + tests/input/PropertyDeclaration.php 14 0
3333+ tests/input/return_type_on_closures.php 26 0
3434+ tests/input/return_type_on_methods.php 22 0
3535 tests/input/semicolon_spacing.php 3 0
3636 tests/input/single-line-array-spacing.php 5 0
3737 tests/input/spread-operator.php 6 0
38- tests/input/static-closures.php 1 0
39- tests/input/strings.php 1 0
38+ @@ -39,16 +40,17 @@ tests/input/strings.php 1 0
4039 tests/input/superfluous-naming.php 11 0
4140 tests/input/test-case.php 8 0
4241 tests/input/trailing_comma_on_array.php 1 0
@@ -51,15 +50,15 @@ index 476a58b..54630dd 100644
5150+ tests/input/UselessConditions.php 21 0
5251 ----------------------------------------------------------------------
5352- A TOTAL OF 381 ERRORS AND 0 WARNINGS WERE FOUND IN 42 FILES
54- + A TOTAL OF 412 ERRORS AND 0 WARNINGS WERE FOUND IN 44 FILES
53+ + A TOTAL OF 419 ERRORS AND 0 WARNINGS WERE FOUND IN 44 FILES
5554 ----------------------------------------------------------------------
5655- PHPCBF CAN FIX 315 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
57- + PHPCBF CAN FIX 346 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
56+ + PHPCBF CAN FIX 353 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
5857 ----------------------------------------------------------------------
5958
6059
6160diff --git a/tests/fixed/EarlyReturn.php b/tests/fixed/EarlyReturn.php
62- index 5a82a93..7d5eb01 100644
61+ index caf1dbb..fc734db 100644
6362--- a/tests/fixed/EarlyReturn.php
6463+++ b/tests/fixed/EarlyReturn.php
6564@@ -11,7 +11,7 @@ class EarlyReturn
@@ -94,15 +93,20 @@ index 57d9f2b..5493471 100644
9493 public function fcn(string $A): void
9594 {
9695diff --git a/tests/fixed/PropertyDeclaration.php b/tests/fixed/PropertyDeclaration.php
97- index 5c3f27b..7f286ad 100644
96+ index 5c3f27b..9703897 100644
9897--- a/tests/fixed/PropertyDeclaration.php
9998+++ b/tests/fixed/PropertyDeclaration.php
100- @@ -9,5 +9,5 @@ final class PropertyDeclaration
99+ @@ -9,5 +9,10 @@ final class PropertyDeclaration
101100 public bool $boolPropertyWithDefaultValue = false;
102101 public string $stringProperty;
103102 public int $intProperty;
104103- public ?string $nullableString = null;
105104+ public string|null $nullableString = null;
105+ +
106+ + public function __construct(
107+ + public readonly Foo $foo,
108+ + ) {
109+ + }
106110 }
107111diff --git a/tests/fixed/TrailingCommaOnFunctions.php b/tests/fixed/TrailingCommaOnFunctions.php
108112index 6e5cca4..c5fdccb 100644
@@ -343,6 +347,20 @@ index 10e6f34..5e26ed8 100644
343347- private $x = 1;
344348+ private int|string|null $x = 1;
345349 }
350+ diff --git a/tests/input/PropertyDeclaration.php b/tests/input/PropertyDeclaration.php
351+ index 0891e12..acdc445 100644
352+ --- a/tests/input/PropertyDeclaration.php
353+ +++ b/tests/input/PropertyDeclaration.php
354+ @@ -10,4 +10,9 @@ final class PropertyDeclaration
355+ public string $stringProperty;
356+ public int $intProperty;
357+ public ? string $nullableString = null;
358+ +
359+ + public function __construct(
360+ + public readonly Foo $foo,
361+ + ) {
362+ + }
363+ }
346364diff --git a/tests/input/TrailingCommaOnFunctions.php b/tests/input/TrailingCommaOnFunctions.php
347365index 6e5cca4..1d24bb6 100644
348366--- a/tests/input/TrailingCommaOnFunctions.php
0 commit comments