respect-validation/tests/library/Rules
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
..
AbstractClass.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
CustomRule.php Auto-resolve exception namespaces 2020-10-04 11:26:20 +02:00
Invalid.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
Stub.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
Valid.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00