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/tests/external-http/basic.php

    r40519 r45607  
    1414
    1515        $response = wp_remote_get( 'https://secure.php.net/supported-versions.php' );
    16         if ( 200 != wp_remote_retrieve_response_code( $response ) ) {
     16        if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
    1717            $this->fail( 'Could not contact PHP.net to check versions.' );
    1818        }
     
    2626
    2727        $response = wp_remote_get( "https://dev.mysql.com/doc/relnotes/mysql/{$matches[1]}/en/" );
    28         if ( 200 != wp_remote_retrieve_response_code( $response ) ) {
     28        if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
    2929            $this->fail( 'Could not contact dev.MySQL.com to check versions.' );
    3030        }
Note: See TracChangeset for help on using the changeset viewer.