Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (7 years ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term/getTerm.php

    r35537 r42228  
    146146     * @ticket 34332
    147147     */
    148      public function test_should_return_null_when_provided_taxonomy_does_not_match_actual_term_taxonomy() {
     148    public function test_should_return_null_when_provided_taxonomy_does_not_match_actual_term_taxonomy() {
    149149        $term_id = self::factory()->term->create( array( 'taxonomy' => 'post_tag' ) );
    150150        $this->assertNull( get_term( $term_id, 'category' ) );
Note: See TracChangeset for help on using the changeset viewer.