respect-validation/tests/unit
Henrique Moody d5cf1311c8
Update DateTimeDiff to generate results with siblings
Since I updated the validation engine[1], it became possible to create
results with siblings. This commit changes the "DateTimeDiff", allowing
it to create a result with a sibling when possible. That will improve
the clarity of the error messages.

While at it, I noticed that we were not translating the type of
interval, so I fixed that and improved the documentation.

[1]: 238f2d506a
2024-12-09 01:31:26 +01:00
..
Exceptions Make proper use of exceptions in rules 2024-03-25 22:09:02 +01:00
Helpers Increase CanValidateDateTimeTest invalid data test coverage 2024-11-27 09:44:33 +01:00
Message Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
Rules Update DateTimeDiff to generate results with siblings 2024-12-09 01:31:26 +01:00
Transformers Rename "NotOptional" to "NotUndef" 2024-05-06 20:45:27 +02:00
FactoryTest.php Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
ValidatorTest.php Upgrade PHPStan version 2024-11-29 01:50:19 +01:00