WordPress.org

Make WordPress Core

Changeset 36117


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

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

See #35058.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/MapDeep.php

    r36100 r36117  
    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.