Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 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/ajax/Response.php

    r41293 r42343  
    1212    /**
    1313     * Saved error reporting level
     14     *
    1415     * @var int
    1516     */
     
    4344    /**
    4445     * Return our callback handler
     46     *
    4547     * @return callback
    4648     */
     
    5254     * Handler for wp_die()
    5355     * Don't die, just continue on.
     56     *
    5457     * @param string $message
    5558     */
     
    6366     * Needs a separate process to get around the headers/output from the
    6467     * bootstrapper
     68     *
    6569     * @ticket 19448
    6670     * @runInSeparateProcess
     
    6973    public function test_response_charset_in_header() {
    7074
    71         if ( !function_exists( 'xdebug_get_headers' ) ) {
     75        if ( ! function_exists( 'xdebug_get_headers' ) ) {
    7276            $this->markTestSkipped( 'xdebug is required for this test' );
    7377        }
     
    8791    /**
    8892     * Test that charset in the xml tag matches blog_charset
     93     *
    8994     * @ticket 19448
    9095     */
Note: See TracChangeset for help on using the changeset viewer.