respect-validation/library
Henrique Moody 478e248dad
Remove unnecessary inheritance from "Yes" rule
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>
2018-09-16 19:40:48 +02:00
..
Exceptions Apply contribution guidelines to "MacAddress" rule 2018-09-16 18:26:51 +02:00
Helpers Fix issues after merging 1.1 2018-08-01 20:46:34 +02:00
Rules Remove unnecessary inheritance from "Yes" rule 2018-09-16 19:40:48 +02:00
Factory.php Remove unnecessary validation from "Factory" class 2018-08-02 10:23:27 +02:00
Validatable.php Rename "Related" to "Child" 2018-08-02 11:18:33 +02:00
Validator.php Setup PHPStan (PHP Static Analysis Tool) 2018-08-22 19:10:20 +02:00