From 2b18ab96903be3f92d5d529011d9c3d6aef40423 Mon Sep 17 00:00:00 2001 From: Benjamin Dalsass Date: Tue, 29 Jul 2025 15:02:03 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B06491=20-=20Remove=20\Combodo\iTop\Form\V?= =?UTF-8?q?alidator\Validator=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/Form/Validator/Validator.php | 40 ---------------------------- 1 file changed, 40 deletions(-) delete mode 100644 sources/Form/Validator/Validator.php diff --git a/sources/Form/Validator/Validator.php b/sources/Form/Validator/Validator.php deleted file mode 100644 index 83c3a8d4f..000000000 --- a/sources/Form/Validator/Validator.php +++ /dev/null @@ -1,40 +0,0 @@ - - -namespace Combodo\iTop\Form\Validator; - -use DeprecatedCallsLog; - - -/** - * Description of Validator - * - * @deprecated 3.1.0 N°6414 use {@see \Combodo\iTop\Form\Validator\CustomRegexpValidator} instead - */ -class Validator extends CustomRegexpValidator -{ - public function __construct($sRegExp = null, $sErrorMessage = null) - { - // cannot use DeprecatedCallsLog::NotifyDeprecatedFile as it would trigger an exception on dev env - // because all autoloader files are loaded during MetaModel::Startup (calling \Combodo\iTop\Service\Events\EventService::InitService calling InterfaceDiscovery::FindItopClasses) - DeprecatedCallsLog::NotifyDeprecatedPhpMethod('3.1.0 N°6414 use '.CustomRegexpValidator::class.' instead'); - - parent::__construct($sRegExp, $sErrorMessage); - } -}