Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Added @TODO's to advise against removal of deprecated feature #102

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ class Input implements
{
/**
* @deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain.
* @TODO This cannot be removed until an alternative is provided see https://github.com/zendframework/zend-inputfilter/issues/101
*
* @var bool
*/
protected $allowEmpty = false;

/**
* @deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain.
* @TODO This cannot be removed until an alternative is provided see https://github.com/zendframework/zend-inputfilter/issues/101
*
* @var bool
*/
Expand Down Expand Up @@ -98,6 +100,7 @@ public function __construct($name = null)

/**
* @deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain and set this to `true`.
* @TODO This cannot be removed until an alternative is provided see https://github.com/zendframework/zend-inputfilter/issues/101
*
* @param bool $allowEmpty
* @return Input
Expand All @@ -120,7 +123,8 @@ public function setBreakOnFailure($breakOnFailure)

/**
* @deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain and set this to `true`.
*
* @TODO This cannot be removed until an alternative is provided see https://github.com/zendframework/zend-inputfilter/issues/101
*
* @param bool $continueIfEmpty
* @return Input
*/
Expand Down Expand Up @@ -227,6 +231,7 @@ public function setFallbackValue($value)

/**
* @deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain.
* @TODO This cannot be removed until an alternative is provided see https://github.com/zendframework/zend-inputfilter/issues/101
*
* @return bool
*/
Expand All @@ -245,6 +250,7 @@ public function breakOnFailure()

/**
* @deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain. Should always return `true`.
* @TODO This cannot be removed until an alternative is provided see https://github.com/zendframework/zend-inputfilter/issues/101
*
* @return bool
*/
Expand Down