From 9e5266d6fe655058af7643b743bcbd22bda439c4 Mon Sep 17 00:00:00 2001 From: WhizSid Date: Thu, 13 Apr 2023 01:15:09 +0530 Subject: [PATCH] Add issue snippet --- tests/ArrayFunctionCallTest.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/ArrayFunctionCallTest.php b/tests/ArrayFunctionCallTest.php index ee3ade8ba..32be8253e 100644 --- a/tests/ArrayFunctionCallTest.php +++ b/tests/ArrayFunctionCallTest.php @@ -1803,7 +1803,7 @@ class ArrayFunctionCallTest extends TestCase '$d' => 'array', ], ], - 'arraySpliceEmptyRef' => [ + 'arraySpliceRefWithoutReplacement' => [ 'code' => ' 'list', ], ], + 'arraySpliceEmptyRefWithoutReplacement' => [ + 'code' => ' [ + '$a' => 'list', + ], + ], 'ksortPreserveShape' => [ 'code' => ' 3, "b" => 4];