From a45b83b1d08018f36638eb75c8231e06a0364477 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 18 Mar 2023 10:42:39 +0100 Subject: [PATCH] add Exception class to plugin namespace --- src/Config.php | 1 - src/Core.php | 1 - src/Exception.php | 21 +++++++++++++++++++++ src/Install.php | 1 - src/Manage.php | 3 --- src/Utils.php | 3 --- 6 files changed, 21 insertions(+), 9 deletions(-) create mode 100644 src/Exception.php diff --git a/src/Config.php b/src/Config.php index 388418f..7495ba1 100644 --- a/src/Config.php +++ b/src/Config.php @@ -27,7 +27,6 @@ use Dotclear\Helper\Html\Form\{ Note, Para }; -use Exception; class Config extends dcNsProcess { diff --git a/src/Core.php b/src/Core.php index d4e10c4..8c21305 100644 --- a/src/Core.php +++ b/src/Core.php @@ -16,7 +16,6 @@ namespace Dotclear\Plugin\pacKman; use dcCore; use dcModules; -use Exception; use files; use fileUnzip; use path; diff --git a/src/Exception.php b/src/Exception.php new file mode 100644 index 0000000..259a7a5 --- /dev/null +++ b/src/Exception.php @@ -0,0 +1,21 @@ +