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.



git-svn-id: https://develop.svn.wordpress.org/trunk@44645 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-01-18 02:14:24 +00:00
parent d3ee420c14
commit 2ec6c8f3d3
4 changed files with 15 additions and 13 deletions

View File

@@ -199,7 +199,7 @@ class Tests_User extends WP_UnitTestCase {
* @ticket 20043
*/
public function test_user_unset() {
// phpcs:disable WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
// phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
$user = new WP_User( self::$author_id );
// Test custom fields