Make WordPress Core

Changeset 50970


Ignore:
Timestamp:
05/24/2021 01:46:39 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/wpArrayGet.php

    r50965 r50970  
    6969                                        'key' => 4,
    7070                                ),
    71                                 array( 'key' ),
     71                                array( 'key' )
    7272                        ),
    7373                        4
     
    8080                                        'key' => 4,
    8181                                ),
    82                                 array( 'invalid' ),
     82                                array( 'invalid' )
    8383                        ),
    8484                        null
Note: See TracChangeset for help on using the changeset viewer.