Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (7 years ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-server.php

    r42142 r42228  
    398398    public function test_json_error_with_status() {
    399399        $stub = $this->getMockBuilder( 'Spy_REST_Server' )
    400                      ->setMethods( array( 'set_status' ) )
    401                      ->getMock();
     400                    ->setMethods( array( 'set_status' ) )
     401                    ->getMock();
    402402
    403403        $stub->expects( $this->once() )
    404              ->method( 'set_status' )
    405              ->with( $this->equalTo( 400 ) );
     404            ->method( 'set_status' )
     405            ->with( $this->equalTo( 400 ) );
    406406
    407407        $data = array(
Note: See TracChangeset for help on using the changeset viewer.