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); - } -}