respect-validation/tests
Alexandre Gomes Gaigalas bcc60ec035 Allow empty values in iterables for All, Each, Max, Min
Now empty values are again allowed in FilteredArray-style
validators.

To solve the issue with negation, a Result attribute was
added to signal indeciseveness (when a result cannot be
reliably inverted). On such cases, we consider that result
to be valid.

For example, `v::not(v::min(v::equals(10)))` says "The
lowest value of the iterable input should not be equal 10".

If the input is empty, we cannot decide whether its minimum
is equal to 10 or not, so the validator essentially becomes
a null-op.

Users that want to ensure these validators have a valid
decidable target must use it in combination with `Length`
or other similar validators to achieve the same result.
2026-01-30 21:27:16 +00:00
..
benchmark Remove mathematical, niche and deprecated validators 2026-01-30 16:08:27 +00:00
feature Allow empty values in iterables for All, Each, Max, Min 2026-01-30 21:27:16 +00:00
fixtures Create "Masked" validator 2026-01-30 21:06:36 +01:00
src Allow empty values in iterables for All, Each, Max, Min 2026-01-30 21:27:16 +00:00
unit Allow empty values in iterables for All, Each, Max, Min 2026-01-30 21:27:16 +00:00
bootstrap.php Remove mathematical, niche and deprecated validators 2026-01-30 16:08:27 +00:00
Pest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00