Make WordPress Core


Ignore:
Timestamp:
07/02/2019 04:43:01 AM (5 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/tests/rest-api/rest-posts-controller.php

    r45424 r45588  
    13791379        $this->assertEquals( $attachments_url, $links['https://api.w.org/attachment'][0]['href'] );
    13801380
    1381         $term_links = $links['https://api.w.org/term'];
    1382         $tag_link   = $cat_link = $format_link = null;
     1381        $term_links  = $links['https://api.w.org/term'];
     1382        $tag_link    = null;
     1383        $cat_link    = null;
     1384        $format_link = null;
    13831385        foreach ( $term_links as $link ) {
    13841386            if ( 'post_tag' === $link['attributes']['taxonomy'] ) {
Note: See TracChangeset for help on using the changeset viewer.