From 0581520858ae4ffe42f34ee587362353310928c4 Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 20 Nov 2025 14:02:18 +0530 Subject: [PATCH 1/2] Rename Plugin to AuthenticationPlugin --- src/{Plugin.php => AuthenticationPlugin.php} | 2 +- tests/bootstrap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{Plugin.php => AuthenticationPlugin.php} (95%) diff --git a/src/Plugin.php b/src/AuthenticationPlugin.php similarity index 95% rename from src/Plugin.php rename to src/AuthenticationPlugin.php index 2e169f6b..3400bf09 100644 --- a/src/Plugin.php +++ b/src/AuthenticationPlugin.php @@ -20,7 +20,7 @@ /** * Plugin class for CakePHP. */ -class Plugin extends BasePlugin +class AuthenticationPlugin extends BasePlugin { /** * Do bootstrapping or not diff --git a/tests/bootstrap.php b/tests/bootstrap.php index b55f16b5..002405fd 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -14,7 +14,7 @@ * @license https://www.opensource.org/licenses/mit-license.php MIT License */ -use Authentication\Plugin as AuthenticationPlugin; +use Authentication\AuthenticationPlugin; use Cake\Cache\Cache; use Cake\Core\Configure; use Cake\Core\Plugin; From ab08bf3456d76622286d4b721723da706f212bbe Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 20 Nov 2025 17:39:22 +0530 Subject: [PATCH 2/2] Add back Plugin class for backwards compatibility --- src/Plugin.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Plugin.php diff --git a/src/Plugin.php b/src/Plugin.php new file mode 100644 index 00000000..40c4da55 --- /dev/null +++ b/src/Plugin.php @@ -0,0 +1,23 @@ +