Make WordPress Core


Ignore:
Timestamp:
07/02/2019 04:43:01 AM (6 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/customize/section.php

    r43571 r45588  
    1111
    1212    public static function wpSetUpBeforeClass( $factory ) {
    13         self::$user_ids[] = self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) );
     13        self::$admin_id   = $factory->user->create( array( 'role' => 'administrator' ) );
     14        self::$user_ids[] = self::$admin_id;
    1415    }
    1516
Note: See TracChangeset for help on using the changeset viewer.