Make WordPress Core


Ignore:
Timestamp:
07/02/2019 04:43:01 AM (7 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/comment/getCommentAuthorUrlLink.php

    r42343 r45588  
    3232
    3333    public function test_global_comment() {
    34         $GLOBALS['comment'] = $comment = reset( self::$comments );
     34        $comment            = reset( self::$comments );
     35        $GLOBALS['comment'] = $comment;
    3536
    3637        $url_link = get_comment_author_url_link();
Note: See TracChangeset for help on using the changeset viewer.