diff --git a/src/EmptyContextInterface.php b/src/EmptyContextInterface.php index 1e5d5aa3..1160ed7a 100644 --- a/src/EmptyContextInterface.php +++ b/src/EmptyContextInterface.php @@ -4,22 +4,15 @@ namespace Laminas\InputFilter; -/** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. - */ interface EmptyContextInterface { /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain and set this to `true`. - * * @param bool $continueIfEmpty * @return self */ public function setContinueIfEmpty($continueIfEmpty); /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. Should always return `true`. - * * @return bool */ public function continueIfEmpty(); diff --git a/src/FileInput.php b/src/FileInput.php index fe5847ed..115054a7 100644 --- a/src/FileInput.php +++ b/src/FileInput.php @@ -154,8 +154,6 @@ public function merge(InputInterface $input) } /** - * @deprecated 2.4.8 See note on parent class. Removal does not affect this class. - * * No-op, NotEmpty validator does not apply for FileInputs. * See also: BaseInputFilter::isValid() * diff --git a/src/Input.php b/src/Input.php index dc9280a3..08ffb7e9 100644 --- a/src/Input.php +++ b/src/Input.php @@ -17,18 +17,10 @@ class Input implements InputInterface, EmptyContextInterface { - /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. - * - * @var bool - */ + /** @var bool */ protected $allowEmpty = false; - /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. - * - * @var bool - */ + /** @var bool */ protected $continueIfEmpty = false; /** @var bool */ @@ -43,11 +35,7 @@ class Input implements /** @var null|string */ protected $name; - /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. - * - * @var bool - */ + /** @var bool */ protected $notEmptyValidator = false; /** @var bool */ @@ -79,8 +67,6 @@ public function __construct($name = null) } /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain and set this to `true`. - * * @param bool $allowEmpty * @return $this */ @@ -101,8 +87,6 @@ public function setBreakOnFailure($breakOnFailure) } /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain and set this to `true`. - * * @param bool $continueIfEmpty * @return $this */ @@ -208,8 +192,6 @@ public function setFallbackValue($value) } /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. - * * @return bool */ public function allowEmpty() @@ -226,8 +208,6 @@ public function breakOnFailure() } /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. Should always return `true`. - * * @return bool */ public function continueIfEmpty() @@ -440,8 +420,6 @@ public function getMessages() } /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. - * * @return void */ protected function injectNotEmptyValidator() diff --git a/src/InputInterface.php b/src/InputInterface.php index d7442ec5..cc18540d 100644 --- a/src/InputInterface.php +++ b/src/InputInterface.php @@ -10,8 +10,6 @@ interface InputInterface { /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain and set this to `true`. - * * @param bool $allowEmpty * @return $this */ @@ -63,8 +61,6 @@ public function setValue($value); public function merge(InputInterface $input); /** - * @deprecated 2.4.8 Add Laminas\Validator\NotEmpty validator to the ValidatorChain. - * * @return bool */ public function allowEmpty();