respect-validation/tests/integration/rules
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
..
allOf.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
alnum.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
alpha.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
alwaysInvalid.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
alwaysValid.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
arrayType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
arrayVal.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
base.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
base64.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
beetwen.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
betweenExclusive.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
boolType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
boolVal.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
bsn.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
call.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
callableType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
callback.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
charset.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
cnh.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
cnpj.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
cntrl.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
consecutive.phpt Rename "negative" to "inverted" mode 2024-12-02 22:00:18 +01:00
consonant.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
contains.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
containsAny.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
countable.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
countryCode.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
cpf.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
creditCard.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
currencyCode.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
date.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
dateTime.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
dateTimeDiff.phpt Update DateTimeDiff to generate results with siblings 2024-12-09 01:31:26 +01:00
decimal.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
digit.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
directory.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
domain.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
each.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
email.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
endsWith.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
equals.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
equivalent.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
even.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
executable.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
exists.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
extension.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
factor.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
falseVal.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
fibonacci.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
file.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
filterVar.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
finite.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
floatType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
floatval.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
graph.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
greaterThan.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
greaterThanOrEqual.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
hetu.phpt Rename "negative" to "inverted" mode 2024-12-02 22:00:18 +01:00
hexRgbColor.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
iban.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
identical.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
image.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
imei.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
in.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
infinite.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
instance.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
intType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
intVal.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
ip.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
isbn.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
iterableType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
iterableVal.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
json.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
key.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
keyExists.phpt Rename "negative" to "inverted" mode 2024-12-02 22:00:18 +01:00
keyOptional.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
keySet.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
languageCode.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
lazy.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
leapDate.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
leapYear.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
length.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
lessThan.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
lessThanOrEqual.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
lowercase.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
luhn.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
macAddress.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
max.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
mimetype.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
min.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
multiple.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
negative.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
nfeAccessKey.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
nif.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
nip.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
no.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
noneOf.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
notBlank.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
notEmoji.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
notEmpty.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
notUndef.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
noWhitespace.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
nullOr.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
nullType.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
number.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
numericVal.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
objectType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
odd.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
perfectSquare.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
pesel.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
phone.phpt Rename "negative" to "inverted" mode 2024-12-02 22:00:18 +01:00
phplabel.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
pis.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
polishIdCard.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
positive.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
postalCode.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
primeNumber.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
printable.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
property.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
propertyExists.phpt Rename "negative" to "inverted" mode 2024-12-02 22:00:18 +01:00
propertyOptional.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
punct.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
readable.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
regex.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
resourceType.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
roman.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
scalarVal.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
size.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
slug.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
sorted.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
space.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
startsWith.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
stringType.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
stringVal.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
subset.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
symbolicLink.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
time.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
tld.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
trueVal.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
undefOr.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
unique.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
uploaded.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
uppercase.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
url.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
uuid.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
version.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
videoUrl.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
vowel.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
when.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
writable.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00
xdigit.phpt Improve several validation messages 2024-12-05 23:37:42 +01:00
yes.phpt Run PHPStan in PHPT files 2024-11-29 01:39:41 +01:00