Make WordPress Core


Ignore:
Timestamp:
01/18/2019 02:14:24 AM (5 years ago)
Author:
pento
Message:

Build Tools: Upgrade WPCS to 2.0.0.

A few sniffs have been renamed, this change includes the relevant phpcs:ignore comment updates.

Fixes #46002.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions.php

    r44573 r44645  
    88        $x        = new MockClass;
    99        $x->_baba = 5;
    10         $x->yZ    = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
     10        $x->yZ    = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
    1111        $x->a     = array( 5, 111, 'x' );
    1212        $this->assertEquals(
     
    4444        $x        = new MockClass;
    4545        $x->_baba = 5;
    46         $x->yZ    = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
     46        $x->yZ    = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
    4747        $x->a     = array( 5, 111, 'x' );
    4848        $d        = array( 'pu' => 'bu' );
Note: See TracChangeset for help on using the changeset viewer.