Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (5 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/includes/install.php

    r45588 r45607  
    5454$wpdb->query( 'SET foreign_key_checks = 0' );
    5555foreach ( $wpdb->tables() as $table => $prefixed_table ) {
     56    //phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
    5657    $wpdb->query( "DROP TABLE IF EXISTS $prefixed_table" );
    5758}
    5859
    5960foreach ( $wpdb->tables( 'ms_global' ) as $table => $prefixed_table ) {
     61    //phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
    6062    $wpdb->query( "DROP TABLE IF EXISTS $prefixed_table" );
    6163
Note: See TracChangeset for help on using the changeset viewer.