Move CAPTCHA classes under MailPoet\Captcha dir

CAPTCHA usage is no longer tied to MP's subscription form.
This commit is contained in:
Mustapha Hadid
2024-11-12 19:01:04 +03:00
committed by David Remer
parent 8e608816a9
commit 3bda992f13
35 changed files with 66 additions and 68 deletions

View File

@@ -4,6 +4,11 @@ namespace MailPoet\Subscribers;
use Codeception\Stub;
use Codeception\Stub\Expected;
use MailPoet\Captcha\CaptchaConstants;
use MailPoet\Captcha\CaptchaSession;
use MailPoet\Captcha\Validator\CaptchaValidator;
use MailPoet\Captcha\Validator\RecaptchaValidator;
use MailPoet\Captcha\Validator\ValidationError;
use MailPoet\Entities\FormEntity;
use MailPoet\Entities\SubscriberEntity;
use MailPoet\Form\FormsRepository;
@@ -11,11 +16,6 @@ use MailPoet\Form\Util\FieldNameObfuscator;
use MailPoet\Segments\SubscribersFinder;
use MailPoet\Settings\SettingsController;
use MailPoet\Statistics\StatisticsFormsRepository;
use MailPoet\Subscription\Captcha\CaptchaConstants;
use MailPoet\Subscription\Captcha\CaptchaSession;
use MailPoet\Subscription\Captcha\Validator\CaptchaValidator;
use MailPoet\Subscription\Captcha\Validator\RecaptchaValidator;
use MailPoet\Subscription\Captcha\Validator\ValidationError;
use MailPoet\Subscription\Throttling;
use MailPoet\Subscription\Throttling as SubscriptionThrottling;
use MailPoet\Tags\TagRepository;