Skip to content

Commit

Permalink
PHPCS: ignore $wpdb invokation entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Jun 19, 2024
1 parent 7cafb3b commit cebe1fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ludicrousdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
ldb_default_constants();

// Create database object
$wpdb = new LudicrousDB(); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
// phpcs:ignore
$wpdb = new LudicrousDB();

// Include LudicrousDB config file if found or set
if ( defined( 'DB_CONFIG_FILE' ) && file_exists( DB_CONFIG_FILE ) ) {
Expand Down

0 comments on commit cebe1fa

Please # to comment.