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/option/siteTransient.php

    r40564 r42343  
    1515
    1616    function test_the_basics() {
    17         $key = 'key1';
    18         $value = 'value1';
     17        $key    = 'key1';
     18        $value  = 'value1';
    1919        $value2 = 'value2';
    2020
     
    3131
    3232    function test_serialized_data() {
    33         $key = __FUNCTION__;
    34         $value = array( 'foo' => true, 'bar' => true );
     33        $key   = __FUNCTION__;
     34        $value = array(
     35            'foo' => true,
     36            'bar' => true,
     37        );
    3538
    3639        $this->assertTrue( set_site_transient( $key, $value ) );
Note: See TracChangeset for help on using the changeset viewer.