Make WordPress Core

Changeset 54721


Ignore:
Timestamp:
10/29/2022 05:10:29 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct alignment in Tests_Ajax_Autosave::wpSetUpBeforeClass().

This fixes an Equals sign not aligned with surrounding assignments WPCS warning.

Follow-up to [54720].

See #56793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/Autosave.php

    r54720 r54721  
    2929
    3030    public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
    31         self::$admin_id   = $factory->user->create( array( 'role' => 'administrator' ) );
    32         self::$editor_id  = $factory->user->create( array( 'role' => 'editor' ) );
     31        self::$admin_id  = $factory->user->create( array( 'role' => 'administrator' ) );
     32        self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) );
    3333
    3434        // Set a user so the $post has 'post_author'.
Note: See TracChangeset for help on using the changeset viewer.