Make WordPress Core


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

    r38398 r42343  
    1111     */
    1212    function test_get_home_path() {
    13         $home = get_option( 'home' );
     13        $home    = get_option( 'home' );
    1414        $siteurl = get_option( 'siteurl' );
    15         $sfn = $_SERVER['SCRIPT_FILENAME'];
     15        $sfn     = $_SERVER['SCRIPT_FILENAME'];
    1616        $this->assertEquals( str_replace( '\\', '/', ABSPATH ), get_home_path() );
    1717
Note: See TracChangeset for help on using the changeset viewer.