Make WordPress Core


Ignore:
Timestamp:
07/02/2019 04:43:01 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/abstract-testcase.php

    r45486 r45588  
    707707        // from all over the place (globals, GET, etc), which makes it tricky
    708708        // to run them more than once without very carefully clearing everything
    709         $_GET = $_POST = array();
     709        $_GET  = array();
     710        $_POST = array();
    710711        foreach ( array( 'query_string', 'id', 'postdata', 'authordata', 'day', 'currentmonth', 'page', 'pages', 'multipage', 'more', 'numpages', 'pagenow', 'current_screen' ) as $v ) {
    711712            if ( isset( $GLOBALS[ $v ] ) ) {
Note: See TracChangeset for help on using the changeset viewer.