Make WordPress Core

Changeset 44559


Ignore:
Timestamp:
01/11/2019 03:03:08 AM (8 years ago)
Author:
pento
Message:

Coding Standards: Remove PHPCS 2.x @codingStandardsIgnore* ignore syntax.

Props netweb.
Fixes #42808.

Location:
trunk/tests/phpunit/tests/customize
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/customize/control.php

    r43571 r44559  
    2929                wp_set_current_user( $this->factory()->user->create( array( 'role' => 'administrator' ) ) );
    3030                require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' );
    31                 // @codingStandardsIgnoreStart
    3231                $GLOBALS['wp_customize'] = new WP_Customize_Manager();
    33                 // @codingStandardsIgnoreEnd
    34                 $this->wp_customize = $GLOBALS['wp_customize'];
     32                $this->wp_customize      = $GLOBALS['wp_customize'];
    3533        }
    3634
  • trunk/tests/phpunit/tests/customize/partial.php

    r43571 r44559  
    3333                parent::setUp();
    3434                require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' );
    35                 // @codingStandardsIgnoreStart
    3635                $GLOBALS['wp_customize'] = new WP_Customize_Manager();
    37                 // @codingStandardsIgnoreEnd
    38                 $this->wp_customize = $GLOBALS['wp_customize'];
     36                $this->wp_customize      = $GLOBALS['wp_customize'];
    3937                if ( isset( $this->wp_customize->selective_refresh ) ) {
    4038                        $this->selective_refresh = $this->wp_customize->selective_refresh;
  • trunk/tests/phpunit/tests/customize/selective-refresh-ajax.php

    r43571 r44559  
    4343
    4444                require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' );
    45                 // @codingStandardsIgnoreStart
    4645                $GLOBALS['wp_customize'] = new WP_Customize_Manager();
    47                 // @codingStandardsIgnoreEnd
    48                 $this->wp_customize = $GLOBALS['wp_customize'];
     46                $this->wp_customize      = $GLOBALS['wp_customize'];
    4947                if ( isset( $this->wp_customize->selective_refresh ) ) {
    5048                        $this->selective_refresh = $this->wp_customize->selective_refresh;
  • trunk/tests/phpunit/tests/customize/selective-refresh.php

    r43571 r44559  
    3333                parent::setUp();
    3434                require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' );
    35                 // @codingStandardsIgnoreStart
    3635                $GLOBALS['wp_customize'] = new WP_Customize_Manager();
    37                 // @codingStandardsIgnoreEnd
    38                 $this->wp_customize = $GLOBALS['wp_customize'];
     36                $this->wp_customize      = $GLOBALS['wp_customize'];
    3937                if ( isset( $this->wp_customize->selective_refresh ) ) {
    4038                        $this->selective_refresh = $this->wp_customize->selective_refresh;
Note: See TracChangeset for help on using the changeset viewer.