Skip to content

Commit 6f0487c

Browse files
committed
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
1 parent 8cc4933 commit 6f0487c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/wp-includes/wp-db.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* @since 0.71
1919
*/
2020
define( 'OBJECT', 'OBJECT' );
21+
// phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase
2122
define( 'object', 'OBJECT' ); // Back compat.
2223

2324
/**

tests/phpunit/wp-mail-real-test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
// make sure we're installed
5656
assert( true == is_blog_installed() );
5757

58+
// phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase
5859
define( 'PHPUnit_MAIN_METHOD', false );
5960
$original_wpdb = $GLOBALS['wpdb'];
6061

0 commit comments

Comments
 (0)