Skip to content

Commit

Permalink
Fix PHP namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
atarime committed Oct 31, 2024
1 parent 2c503d8 commit ca9c3bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion includes/class-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
require_once ABSPATH . 'wp-includes/sodium_compat/src/Core/Util.php';
require_once ABSPATH . 'wp-includes/sodium_compat/src/Compat.php';

use \WP_Error;
use WP_Error;

/**
* Utils
Expand Down
4 changes: 2 additions & 2 deletions includes/drivers/class-database.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
require_once ABSPATH . 'wp-includes/sodium_compat/src/Core/Util.php';
require_once ABSPATH . 'wp-includes/sodium_compat/src/Compat.php';

use \WP_Http;
use \WP_Error;
use WP_Http;
use WP_Error;

/**
* Driver for FileMaker Data API
Expand Down
2 changes: 1 addition & 1 deletion includes/drivers/class-fmdapi.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
defined( 'ABSPATH' ) || die( 'Access denied.' );
require_once ABSPATH . 'wp-admin/includes/file.php';

use \WP_Http;
use WP_Http;

/**
* Driver for FileMaker Data API
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/tests-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Emic\WP_UnitTestCase;

use \WP_UnitTestCase;
use WP_UnitTestCase;

final class Tests_Utils extends WP_UnitTestCase {
/**
Expand Down

0 comments on commit ca9c3bf

Please sign in to comment.