respect-validation/library
Henrique Moody d64d26c681
Intercept throwables in the "Call" rule
The callable defined to the "Call" rule may also throw an exception and
as we don't want to have errors nor exceptions that are not part of the
Validation during the validation of inputs it just makes sense to
intercept any instance of Throwable.

This change was initially thought of because in Travis the version 7.4
of PHP was throwing "Error" instead of triggering PHP errors which made
the tests fail.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-08-22 17:04:20 +02:00
..
Exceptions Do not trigger PHP errors in the "Call" rule 2018-08-21 01:22:38 +02:00
Helpers Fix issues after merging 1.1 2018-08-01 20:46:34 +02:00
Rules Intercept throwables in the "Call" rule 2018-08-22 17:04:20 +02:00
Factory.php Remove unnecessary validation from "Factory" class 2018-08-02 10:23:27 +02:00
Validatable.php Rename "Related" to "Child" 2018-08-02 11:18:33 +02:00
Validator.php Do not trigger PHP errors in the "Call" rule 2018-08-21 01:22:38 +02:00