From ba3d6e5c96b64b2e205dbac760683de7b2eb25c3 Mon Sep 17 00:00:00 2001 From: Richardas Kuchinskas Date: Fri, 16 Aug 2024 20:27:51 +0300 Subject: [PATCH] multiple args quickfix test --- src/tests/golden/testdata/quickfix/nullableTypes.php | 4 ++++ .../golden/testdata/quickfix/nullableTypes.php.fix.expected | 4 ++++ .../golden/testdata/quickfix/stringNullable.fix.expected | 5 ----- 3 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 src/tests/golden/testdata/quickfix/stringNullable.fix.expected diff --git a/src/tests/golden/testdata/quickfix/nullableTypes.php b/src/tests/golden/testdata/quickfix/nullableTypes.php index 9474a00d..5523c8f8 100644 --- a/src/tests/golden/testdata/quickfix/nullableTypes.php +++ b/src/tests/golden/testdata/quickfix/nullableTypes.php @@ -20,3 +20,7 @@ public function myMethod(MyClass1 $a = null) { function nullableArray(array $a = null) { return 0; } + +function multipleArgsExample(string $a, int $b = null, bool $c = null) { + return 0; +} diff --git a/src/tests/golden/testdata/quickfix/nullableTypes.php.fix.expected b/src/tests/golden/testdata/quickfix/nullableTypes.php.fix.expected index 3673f7c7..24b757eb 100644 --- a/src/tests/golden/testdata/quickfix/nullableTypes.php.fix.expected +++ b/src/tests/golden/testdata/quickfix/nullableTypes.php.fix.expected @@ -20,3 +20,7 @@ class MyClass2 { function nullableArray(?array $a = null) { return 0; } + +function multipleArgsExample(string $a, ?int $b = null, ?bool $c = null) { + return 0; +} diff --git a/src/tests/golden/testdata/quickfix/stringNullable.fix.expected b/src/tests/golden/testdata/quickfix/stringNullable.fix.expected deleted file mode 100644 index d7134cda..00000000 --- a/src/tests/golden/testdata/quickfix/stringNullable.fix.expected +++ /dev/null @@ -1,5 +0,0 @@ -