diff --git a/tests/php73-compatibility.patch b/tests/php73-compatibility.patch index ec67bce..3b49053 100644 --- a/tests/php73-compatibility.patch +++ b/tests/php73-compatibility.patch @@ -46,7 +46,7 @@ index b98c372..35b7171 100644 tests/input/semicolon_spacing.php 3 0 tests/input/single-line-array-spacing.php 5 0 tests/input/spread-operator.php 6 0 -@@ -46,17 +43,15 @@ tests/input/strings.php 3 0 +@@ -46,17 +43,17 @@ tests/input/strings.php 3 0 tests/input/superfluous-naming.php 11 0 tests/input/test-case.php 8 0 tests/input/trailing_comma_on_array.php 1 0 @@ -67,8 +67,8 @@ index b98c372..35b7171 100644 -PHPCBF CAN FIX 378 OF THESE SNIFF VIOLATIONS AUTOMATICALLY +PHPCBF CAN FIX 335 OF THESE SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- -- -- + + diff --git a/tests/fixed/ControlStructures.php b/tests/fixed/ControlStructures.php index f8f7f65..a653086 100644 --- a/tests/fixed/ControlStructures.php @@ -196,6 +196,25 @@ index 71e0cfb..2151b17 100644 { if (! $this->isAdmin) { return null; +diff --git a/tests/fixed/arrow-functions-format.php b/tests/fixed/arrow-functions-format.php +index 4da39b8..dcb5a3e 100644 +--- a/tests/fixed/arrow-functions-format.php ++++ b/tests/fixed/arrow-functions-format.php +@@ -32,12 +32,12 @@ + ]; + + $singleLineArrayReturn = Collection::map( +- static fn () => [1, 2] ++ static fn () => [1, 2], + ); + + $wrongMultiLineArrayReturn = Collection::map( + static fn () => [ + 1, + 2, +- ] ++ ], + ); diff --git a/tests/fixed/example-class.php b/tests/fixed/example-class.php index 4988dab..2df56a0 100644 --- a/tests/fixed/example-class.php