Coding Standards: Ignore the violations of `Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase`.

See #45934.



git-svn-id: https://develop.svn.wordpress.org/trunk@44563 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-01-11 06:07:50 +00:00
parent 8cc49330a4
commit 6f0487c2f0
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ define( 'EZSQL_VERSION', 'WP1.25' );
* @since 0.71 * @since 0.71
*/ */
define( 'OBJECT', 'OBJECT' ); define( 'OBJECT', 'OBJECT' );
// phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase
define( 'object', 'OBJECT' ); // Back compat. define( 'object', 'OBJECT' ); // Back compat.
/** /**

View File

@ -55,6 +55,7 @@ wp_install( WP_BLOG_TITLE, WP_USER_NAME, WP_USER_EMAIL, true );
// make sure we're installed // make sure we're installed
assert( true == is_blog_installed() ); assert( true == is_blog_installed() );
// phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase
define( 'PHPUnit_MAIN_METHOD', false ); define( 'PHPUnit_MAIN_METHOD', false );
$original_wpdb = $GLOBALS['wpdb']; $original_wpdb = $GLOBALS['wpdb'];