respect-validation/library
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 Update DateTimeDiff to generate results with siblings 2024-12-09 01:31:26 +01:00
Message Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
Mixins 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 "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
Factory.php Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
Mode.php Rename "negative" to "inverted" mode 2024-12-02 22:00:18 +01:00
Result.php Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
Rule.php Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
Validator.php Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
ValidatorDefaults.php Upgrade translation mechanism 2024-12-05 15:42:40 +01:00