mirror of
https://github.com/Respect/Validation.git
synced 2024-06-21 06:55:07 +02:00
478e248dad
The "Yes" rule extends "Regex" rule. The only reasons why that is useful is because "Yes" uses regular expressions to validate the inputs. However, the "Yes" rule is way more complex simply validating a regular expressing and having "Regex" as its parent is also a little bit misleading. This commit will: * Remove unnecessary inheritance from "Yes" rule; * Improve the documentation of the "Yes" rule; * Enhance the unit tests of the "Yes" rule. Signed-off-by: Henrique Moody <henriquemoody@gmail.com> |
||
---|---|---|
.. | ||
Exceptions | ||
Helpers | ||
Rules | ||
Factory.php | ||
Validatable.php | ||
Validator.php |