From 1c4268756a26994a94114a083b3f4f88a829d0ee Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 24 May 2021 13:46:39 +0000 Subject: [PATCH] Tests: Remove trailing commas in function calls in `_wp_array_get()` tests. This fixes parse errors on PHP 7.2 and lower versions. Follow-up to [49143], [49144], [49580], [50964]. See #51461, #51720, #52625. git-svn-id: https://develop.svn.wordpress.org/trunk@50970 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/functions/wpArrayGet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/functions/wpArrayGet.php b/tests/phpunit/tests/functions/wpArrayGet.php index e9e8a2b27d..8fdf23bcf9 100644 --- a/tests/phpunit/tests/functions/wpArrayGet.php +++ b/tests/phpunit/tests/functions/wpArrayGet.php @@ -68,7 +68,7 @@ class Tests_Functions_wpArrayGet extends WP_UnitTestCase { array( 'key' => 4, ), - array( 'key' ), + array( 'key' ) ), 4 ); @@ -79,7 +79,7 @@ class Tests_Functions_wpArrayGet extends WP_UnitTestCase { array( 'key' => 4, ), - array( 'invalid' ), + array( 'invalid' ) ), null );