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/tests/comment/getPageOfComment.php

    r45424 r45588  
    258258
    259259        $now        = time();
    260         $comments_0 = $comments_1 = array();
     260        $comments_0 = array();
     261        $comments_1 = array();
    261262        for ( $i = 0; $i < 5; $i++ ) {
    262263            $comments_0[] = self::factory()->comment->create(
     
    287288        $post = self::factory()->post->create();
    288289
    289         $now             = time();
    290         $comment_parents = $comment_children = array();
     290        $now              = time();
     291        $comment_parents  = array();
     292        $comment_children = array();
    291293        for ( $i = 0; $i < 5; $i++ ) {
    292294            $parent                = self::factory()->comment->create(
Note: See TracChangeset for help on using the changeset viewer.