Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesComment.php

    r38398 r42343  
    2828        self::$post_id = $factory->post->create();
    2929
    30         self::$comment_ids[] = $factory->comment->create( array(
    31             'comment_author'   => 1,
    32             'comment_date'     => '2014-05-06 12:00:00',
    33             'comment_date_gmt' => '2014-05-06 07:00:00',
    34             'comment_post_ID'  => self::$post_id,
    35         ) );
     30        self::$comment_ids[] = $factory->comment->create(
     31            array(
     32                'comment_author'   => 1,
     33                'comment_date'     => '2014-05-06 12:00:00',
     34                'comment_date_gmt' => '2014-05-06 07:00:00',
     35                'comment_post_ID'  => self::$post_id,
     36            )
     37        );
    3638
    37         self::$comment_ids[] = $factory->comment->create( array(
    38             'comment_author'  => 2,
    39             'comment_date'    => '2004-01-02 12:00:00',
    40             'comment_post_ID' => self::$post_id,
    41         ) );
     39        self::$comment_ids[] = $factory->comment->create(
     40            array(
     41                'comment_author'  => 2,
     42                'comment_date'    => '2004-01-02 12:00:00',
     43                'comment_post_ID' => self::$post_id,
     44            )
     45        );
    4246    }
    4347
Note: See TracChangeset for help on using the changeset viewer.