From 0a95cbdac366476f5a18c50a6e1a814ea19c4181 Mon Sep 17 00:00:00 2001 From: Daniel Waxweiler Date: Sun, 21 May 2023 16:28:58 +0200 Subject: [PATCH] rename files --- gulpfile.cjs | 2 +- source/connector-mobilizon.php | 6 +++--- source/includes/{constants.php => Constants.php} | 0 .../{general-exception.php => GeneralException.php} | 0 ...p-not-found-exception.php => GroupNotFoundException.php} | 0 source/uninstall.php | 4 ++-- 6 files changed, 6 insertions(+), 6 deletions(-) rename source/includes/{constants.php => Constants.php} (100%) rename source/includes/exceptions/{general-exception.php => GeneralException.php} (100%) rename source/includes/exceptions/{group-not-found-exception.php => GroupNotFoundException.php} (100%) diff --git a/gulpfile.cjs b/gulpfile.cjs index 9cfe3f3..a9b8a29 100644 --- a/gulpfile.cjs +++ b/gulpfile.cjs @@ -12,7 +12,7 @@ function injectMetadata() { [ FOLDER_BUILD + '/front/block-events-loader.js', FOLDER_BUILD + '/' + PACKAGE.name + '.php', - FOLDER_BUILD + '/includes/constants.php', + FOLDER_BUILD + '/includes/Constants.php', FOLDER_BUILD + '/readme.txt', ], { base: './' } diff --git a/source/connector-mobilizon.php b/source/connector-mobilizon.php index 68ed7ab..1190223 100644 --- a/source/connector-mobilizon.php +++ b/source/connector-mobilizon.php @@ -10,9 +10,9 @@ * License: */ -require_once __DIR__ . '/includes/exceptions/general-exception.php'; -require_once __DIR__ . '/includes/exceptions/group-not-found-exception.php'; -require_once __DIR__ . '/includes/constants.php'; +require_once __DIR__ . '/includes/exceptions/GeneralException.php'; +require_once __DIR__ . '/includes/exceptions/GroupNotFoundException.php'; +require_once __DIR__ . '/includes/Constants.php'; require_once __DIR__ . '/includes/Settings.php'; require_once __DIR__ . '/includes/DateTimeWrapper.php'; require_once __DIR__ . '/includes/Formatter.php'; diff --git a/source/includes/constants.php b/source/includes/Constants.php similarity index 100% rename from source/includes/constants.php rename to source/includes/Constants.php diff --git a/source/includes/exceptions/general-exception.php b/source/includes/exceptions/GeneralException.php similarity index 100% rename from source/includes/exceptions/general-exception.php rename to source/includes/exceptions/GeneralException.php diff --git a/source/includes/exceptions/group-not-found-exception.php b/source/includes/exceptions/GroupNotFoundException.php similarity index 100% rename from source/includes/exceptions/group-not-found-exception.php rename to source/includes/exceptions/GroupNotFoundException.php diff --git a/source/uninstall.php b/source/uninstall.php index 4342684..67e868f 100644 --- a/source/uninstall.php +++ b/source/uninstall.php @@ -1,6 +1,6 @@