WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (15 months ago)
Author:
pento
Message:

Coding Standards: Fix the remaining issues in /tests.

All PHP files in /tests now conform to the PHP coding standards, or have exceptions appropriately marked.

Travis now also runs phpcs on the /tests directory, any future changes to these files must conform entirely to the WordPress PHP coding standards. 🎉

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/date/query.php

    r43571 r45607  
    10151015        $days_of_year = array( -1, 0, 367 );
    10161016        foreach ( $days_of_year as $day_of_year ) {
    1017             $this->assertFalse( @$this->q->validate_date_values( array( 'dayofyear' => $day_of_year ) ) );
     1017            $this->assertFalse( $this->q->validate_date_values( array( 'dayofyear' => $day_of_year ) ) );
    10181018        }
    10191019    }
Note: See TracChangeset for help on using the changeset viewer.