WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2019 04:43:01 AM (3 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/general/archives.php

    r42343 r45588  
    3131        );
    3232        $this->assertInternalType( 'string', $result );
    33         $this->assertNotEmpty( $time1 = wp_cache_get( 'last_changed', 'posts' ) );
     33        $time1 = wp_cache_get( 'last_changed', 'posts' );
     34        $this->assertNotEmpty( $time1 );
    3435        $this->assertEquals( $num_queries + 1, $wpdb->num_queries );
    3536
Note: See TracChangeset for help on using the changeset viewer.