diff --git a/includes/class-utils.php b/includes/class-utils.php index 832bf1a..73002d3 100644 --- a/includes/class-utils.php +++ b/includes/class-utils.php @@ -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 diff --git a/includes/drivers/class-database.php b/includes/drivers/class-database.php index fcfa167..7246791 100644 --- a/includes/drivers/class-database.php +++ b/includes/drivers/class-database.php @@ -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 diff --git a/includes/drivers/class-fmdapi.php b/includes/drivers/class-fmdapi.php index 4750a18..e1201b0 100644 --- a/includes/drivers/class-fmdapi.php +++ b/includes/drivers/class-fmdapi.php @@ -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 diff --git a/tests/phpunit/tests-utils.php b/tests/phpunit/tests-utils.php index dd68550..556da8c 100644 --- a/tests/phpunit/tests-utils.php +++ b/tests/phpunit/tests-utils.php @@ -2,7 +2,7 @@ namespace Emic\WP_UnitTestCase; -use \WP_UnitTestCase; +use WP_UnitTestCase; final class Tests_Utils extends WP_UnitTestCase { /**