respect-validation/tests
Alexandre Gomes Gaigalas fc8230acef Make KeySet impossible to wrap in not(), fix structure message
The use case for negating a keyset is very confusing, and can
lead to validators that don't do what they expect.

This commit introduces NonNegatable rules, which will throw
a Component exception if you try to wrap them in `Not`.

This change was necessary to ensure proper message reporting
when extra keys exist on the keyset.

This fixes #1349
2023-02-19 00:19:10 -03:00
..
fixtures Update PHP support 2018-12-02 11:09:24 +01:00
integration Add a test/example of how to explore the exception tree 2023-02-19 00:19:10 -03:00
library Use SPDX IDs for licensing 2023-02-19 00:19:10 -03:00
unit Make KeySet impossible to wrap in not(), fix structure message 2023-02-19 00:19:10 -03:00