respect-validation/tests/unit/Exceptions
Henrique Moody dd896bb12d
Move template definitions to the rules
It's easier to identify the reason for choosing a specific message in
the rule than in the exception. The same goes for the key we use to
determine the templates.

This change will simplify the `ValidationException` because it will
already receive the template it needs to use. As a consequence, the
`Factory` also becomes more straightforward.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2024-01-29 23:17:27 +01:00
..
CheckExceptionsTest.php Upgrade "phpunit/phpunit" 2024-01-28 14:16:52 +01:00
NestedValidationExceptionTest.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ValidationExceptionTest.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00