respect-validation/library
Henrique Moody 60e3fc3740
Refactor "Between" rule
The "Between" rule was extending the "AllOf" rule and adding "Max" and
"Min" rules to the chain. Because of that, when the rule failed we could
get the "MinException" or the "MaxException" exception, and only if both
failed that we would get the "BetweenException".

With this change it will always get the "BetweenException" which makes
it more explicit.

Also, the "Between" is not using the same standard required in the
Contribution Guidelines.
2018-03-03 18:06:26 +01:00
..
Exceptions Refactor "Between" rule 2018-03-03 18:06:26 +01:00
Helpers Refactor "Between" rule 2018-03-03 18:06:26 +01:00
Rules Refactor "Between" rule 2018-03-03 18:06:26 +01:00
Factory.php Fix coding standards 2018-02-04 01:00:30 +01:00
Validatable.php Method assert() should not have a return value 2018-01-28 17:38:40 +01:00
Validator.php Refactor "Between" rule 2018-03-03 18:06:26 +01:00