WordPress.org

Make WordPress Core

Changeset 36118


Ignore:
Timestamp:
12/29/2015 05:48:58 AM (5 years ago)
Author:
dd32
Message:

Tests: After [36100] use an object style which is compatible with PHP5 get_object_vars().

Merges [36117] to the 4.4 branch.
See #35249.
Fixes #35058.

Location:
branches/4.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4

  • branches/4.4/tests/phpunit/tests/formatting/MapDeep.php

    r36101 r36118  
    3939            'var0' => 'ababa',
    4040            'var1' => (object) array(
    41                 'xbaba',
     41                'var0' => 'xbaba',
    4242            ),
    4343        ), map_deep( array(
    4444            'var0' => 'a',
    4545            'var1' => (object) array(
    46                 'x',
     46                'var0' => 'x',
    4747            ),
    4848        ), array( $this, 'append_baba' ) ) );
     
    8585            'var0' => 'ababa',
    8686            'var1' => (object) array(
    87                 'xbaba',
     87                'var0' => 'xbaba',
    8888            ),
    8989        ), map_deep( (object) array(
    9090            'var0' => 'a',
    9191            'var1' => (object) array(
    92                 'x',
     92                'var0' => 'x',
    9393            ),
    9494        ), array( $this, 'append_baba' ) ) );
Note: See TracChangeset for help on using the changeset viewer.