respect-validation/tests
Dylan T 3501192293
Report all errors when asserting with "Each" rule
The intention of the "assert()" method is to show all the errors that a
given input may have. The implementation of the "assert()" method in the
"Each" rule, on the other hand, only reports the first error of each
element of the input.

This commit makes "Each" show all the validation failures of each
element of the input. Also, the implementation of
"AbstractRule::check()" is simply a proxy for the "assert()" method,
and since the "Each" rule extends that class, this commit creates a
custom implementation of the "check()" method.

Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2020-05-18 21:18:13 +02:00
..
fixtures Update PHP support 2018-12-02 11:09:24 +01:00
integration Report all errors when asserting with "Each" rule 2020-05-18 21:18:13 +02:00
library Move "MaxAgeTest" to the correct directory 2019-06-04 20:50:01 +02:00
unit Report all errors when asserting with "Each" rule 2020-05-18 21:18:13 +02:00