Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (8 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/includes/factory/class-wp-unittest-factory-for-post.php

    r40968 r42343  
    1616        parent::__construct( $factory );
    1717        $this->default_generation_definitions = array(
    18             'post_status' => 'publish',
    19             'post_title' => new WP_UnitTest_Generator_Sequence( 'Post title %s' ),
     18            'post_status'  => 'publish',
     19            'post_title'   => new WP_UnitTest_Generator_Sequence( 'Post title %s' ),
    2020            'post_content' => new WP_UnitTest_Generator_Sequence( 'Post content %s' ),
    2121            'post_excerpt' => new WP_UnitTest_Generator_Sequence( 'Post excerpt %s' ),
    22             'post_type' => 'post'
     22            'post_type'    => 'post',
    2323        );
    2424    }
Note: See TracChangeset for help on using the changeset viewer.