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/admin/includesSchema.php

    r43641 r45607  
    2929        $max_index_length = 191;
    3030
     31        // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
    3132        $wpdb->query(
    3233            "
     
    6768            "
    6869        );
     70        // phpcs:enable
    6971    }
    7072
     
    7981        $sitemeta = self::$sitemeta;
    8082
     83        // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
    8184        $wpdb->query( "DROP TABLE IF EXISTS {$options}" );
    8285        $wpdb->query( "DROP TABLE IF EXISTS {$blogmeta}" );
    8386        $wpdb->query( "DROP TABLE IF EXISTS {$sitemeta}" );
     87        // phpcs:enable
    8488    }
    8589
Note: See TracChangeset for help on using the changeset viewer.