WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (4 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/http/curl.php

    r40068 r42343  
    1515    public function test_http_api_curl_stream_parameter_is_a_reference() {
    1616        add_action( 'http_api_curl', array( $this, '_action_test_http_api_curl_stream_parameter_is_a_reference' ), 10, 3 );
    17         wp_remote_request( $this->fileStreamUrl, array( 'stream' => true, 'timeout' => 30 ) );
     17        wp_remote_request(
     18            $this->fileStreamUrl, array(
     19                'stream'  => true,
     20                'timeout' => 30,
     21            )
     22        );
    1823        remove_action( 'http_api_curl', array( $this, '_action_test_http_api_curl_stream_parameter_is_a_reference' ), 10 );
    1924    }
Note: See TracChangeset for help on using the changeset viewer.