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/l10n/loadTextdomainJustInTime.php

    r39330 r42343  
    1212
    1313    public static function wpSetUpBeforeClass( $factory ) {
    14         self::$user_id = $factory->user->create( array(
    15             'role'   => 'administrator',
    16             'locale' => 'de_DE',
    17         ) );
     14        self::$user_id = $factory->user->create(
     15            array(
     16                'role'   => 'administrator',
     17                'locale' => 'de_DE',
     18            )
     19        );
    1820    }
    1921
     
    2123        parent::setUp();
    2224
    23         $this->theme_root = DIR_TESTDATA . '/themedir1';
     25        $this->theme_root     = DIR_TESTDATA . '/themedir1';
    2426        $this->orig_theme_dir = $GLOBALS['wp_theme_directories'];
    25         $this->locale_count = 0;
     27        $this->locale_count   = 0;
    2628
    2729        // /themes is necessary as theme.php functions assume /themes is the root if there is only one root.
Note: See TracChangeset for help on using the changeset viewer.