mirror of
https://github.com/Respect/Validation.git
synced 2024-06-17 04:55:05 +02:00
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]:
|
||
---|---|---|
.. | ||
DataProvider | ||
Exceptions | ||
Rules | ||
Stubs | ||
RuleTestCase.php | ||
TestCase.php |