respect-validation/tests
Henrique Moody 8b2819e9f8
Auto-resolve exception namespaces
After the refactoring on the Factory class [1], to throw exceptions of a
specific rule, it is necessary to add the exception namespace of that
rule. That change makes sense when someone wants to create rules from
the Validator class, but when using rules as classes, it's not as handy.

This commit will auto-resolve exception based on the rule namespace,
just as it used to be.

[1]: 1f217dda66

Co-authored-by: Casey McLaughlin <caseyamcl@gmail.com>
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-10-04 11:26:20 +02:00
..
fixtures Update PHP support 2018-12-02 11:09:24 +01:00
integration Check "bcmath" extension before executing tests 2020-10-04 11:21:36 +02:00
library Auto-resolve exception namespaces 2020-10-04 11:26:20 +02:00
unit Auto-resolve exception namespaces 2020-10-04 11:26:20 +02:00