respect-validation/tests/integration
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
..
lib Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
readme Improve several validation messages 2024-12-05 23:37:42 +01:00
rules Update DateTimeDiff to generate results with siblings 2024-12-09 01:31:26 +01:00
transformers Improve several validation messages 2024-12-05 23:37:42 +01:00
assert-with-attributes.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
assert-with-keys.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
do_not_rely_on_nested_validation_exception_interface_for_check.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
get_full_message_should_include_all_validation_messages_in_a_chain.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
get_messages.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
get_messages_should_include_all_validation_messages_in_a_chain.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
get_messages_with_replacements.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-179.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-425.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
issue-446.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
issue-619.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
issue-739.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-796.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-799.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
issue-805.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
issue-1033.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-1244.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
issue-1289.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-1333.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-1348.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
issue-1376.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
keys_as_validator_names.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
not_should_work_by_builder.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
not_with_recursion.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
not_without_recursion.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
set_template_with_multiple_validators_should_use_template_as_full_message.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
set_template_with_multiple_validators_should_use_template_as_main_message.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
set_template_with_single_validator_should_use_template_as_main_message.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
should_not_overwrite_defined_names.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
translator.phpt Update DateTimeDiff to generate results with siblings 2024-12-09 01:31:26 +01:00