mirror of
https://github.com/Respect/Validation.git
synced 2024-06-28 10:10:09 +02:00
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. |
||
---|---|---|
docs | ||
library | ||
tests | ||
.docheader | ||
.gitattributes | ||
.gitignore | ||
.php_cs | ||
.scrutinizer.yml | ||
.travis.yml | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTING.md | ||
couscous.yml | ||
LICENSE.md | ||
phpunit.xml.dist | ||
README.md |
Respect\Validation
The most awesome validation engine ever created for PHP.
- Complex rules made simple:
v::numericVal()->positive()->between(1, 255)->validate($input)
. - Granularity control for advanced reporting.
- More than 130 (fully tested) validation rules.
- A concrete API for non fluent usage.