Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (6 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/multisite/getSpaceUsed.php

    r42343 r45607  
    2929            // src directory already contains a content directory with site content, then the initial expectation
    3030            // will be polluted. We create sites until an empty one is available.
    31             while ( 0 != get_space_used() ) {
     31            while ( 0 !== get_space_used() ) {
    3232                restore_current_blog();
    3333                $blog_id = self::factory()->blog->create();
     
    6565            // so that we can remove any uploaded files and directories without concern of a conflict with
    6666            // existing content directories in src.
    67             while ( 0 != get_space_used() ) {
     67            while ( 0 !== get_space_used() ) {
    6868                restore_current_blog();
    6969                $blog_id = self::factory()->blog->create();
Note: See TracChangeset for help on using the changeset viewer.