From 0eb2c543f129946d1a12bcee6ec5e4fdc0cdea54 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 31 Jan 2023 01:00:56 +0100 Subject: [PATCH] Remove useless "use" statments in EesyPHP namespace --- src/Cli.php | 2 -- src/Db.php | 3 --- src/Email.php | 2 -- src/Hook.php | 2 -- src/I18n.php | 4 ---- src/Log.php | 1 - src/SentryIntegration.php | 1 - src/Session.php | 3 --- src/Tpl.php | 8 -------- src/Url.php | 9 --------- src/UrlRequest.php | 3 --- src/functions.php | 2 -- 12 files changed, 40 deletions(-) diff --git a/src/Cli.php b/src/Cli.php index d862481..280507d 100644 --- a/src/Cli.php +++ b/src/Cli.php @@ -2,8 +2,6 @@ namespace EesyPHP; -use EesyPHP\Log; - use Exception; class Cli { diff --git a/src/Db.php b/src/Db.php index a1f2ff2..421eb54 100644 --- a/src/Db.php +++ b/src/Db.php @@ -2,9 +2,6 @@ namespace EesyPHP; -use EesyPHP\Log; -use function EesyPHP\vardump; - use Exception; use PDO; use \Envms\FluentPDO\Query; diff --git a/src/Email.php b/src/Email.php index 91ce3f0..d5c2bec 100644 --- a/src/Email.php +++ b/src/Email.php @@ -2,8 +2,6 @@ namespace EesyPHP; -use EesyPHP\Log; - use PEAR; use Mail; use Mail_mime; diff --git a/src/Hook.php b/src/Hook.php index ade57df..b53f23a 100644 --- a/src/Hook.php +++ b/src/Hook.php @@ -2,8 +2,6 @@ namespace EesyPHP; -use EesyPHP\Log; - use Exception; class Hook { diff --git a/src/I18n.php b/src/I18n.php index 703f4d1..66b8dfe 100644 --- a/src/I18n.php +++ b/src/I18n.php @@ -2,10 +2,6 @@ namespace EesyPHP; -use EesyPHP\Cli; -use EesyPHP\Log; -use EesyPHP\Tpl; - use Locale; class I18n { diff --git a/src/Log.php b/src/Log.php index a383756..249f5c0 100644 --- a/src/Log.php +++ b/src/Log.php @@ -1,7 +1,6 @@