From 69aabcfc65ea9e3591073538f590eae859e31adb Mon Sep 17 00:00:00 2001 From: mscherer Date: Mon, 22 Jan 2024 16:27:34 +0100 Subject: [PATCH] Fix plugin class name --- src/{Plugin.php => CaptchaPlugin.php} | 5 +---- tests/bootstrap.php | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) rename src/{Plugin.php => CaptchaPlugin.php} (89%) diff --git a/src/Plugin.php b/src/CaptchaPlugin.php similarity index 89% rename from src/Plugin.php rename to src/CaptchaPlugin.php index 3daf332..a887f53 100644 --- a/src/Plugin.php +++ b/src/CaptchaPlugin.php @@ -6,10 +6,7 @@ use Cake\Routing\Route\DashedRoute; use Cake\Routing\RouteBuilder; -/** - * Plugin for DatabaseLog - */ -class Plugin extends BasePlugin { +class CaptchaPlugin extends BasePlugin { /** * @var bool diff --git a/tests/bootstrap.php b/tests/bootstrap.php index e0c5fd9..ab4bb3a 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -5,7 +5,7 @@ use Cake\Core\Plugin; use Cake\Datasource\ConnectionManager; use Cake\TestSuite\Fixture\SchemaLoader; -use Captcha\Plugin as CaptchaPlugin; +use Captcha\CaptchaPlugin as CaptchaPlugin; use TestApp\Application; use TestApp\Controller\AppController; use TestApp\View\AppView;