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/ajax/Autosave.php

    r42343 r45588  
    3030
    3131    public static function wpSetUpBeforeClass( $factory ) {
    32         self::$user_ids[] = self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) );
    33         self::$user_ids[] = self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) );
     32        self::$admin_id   = $factory->user->create( array( 'role' => 'administrator' ) );
     33        self::$user_ids[] = self::$admin_id;
     34        self::$editor_id  = $factory->user->create( array( 'role' => 'editor' ) );
     35        self::$user_ids[] = self::$editor_id;
    3436
    3537        self::$post_id = $factory->post->create( array( 'post_status' => 'draft' ) );
Note: See TracChangeset for help on using the changeset viewer.