WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (2 years 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/meta.php

    r43571 r45607  
    371371        $string_mid = "{$meta_id}.0";
    372372
     373        // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison -- intentional implicit casting check
    373374        $this->assertTrue( floor( $string_mid ) == $string_mid );
    374375        $this->assertNotEquals( false, get_metadata_by_mid( 'user', $string_mid ) );
Note: See TracChangeset for help on using the changeset viewer.