mirror of
https://github.com/Respect/Validation.git
synced 2024-06-03 06:12:17 +02:00
fc8230acef
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 |
||
---|---|---|
.. | ||
Exceptions | ||
Helpers | ||
Rules | ||
FactoryTest.php | ||
ValidatorTest.php |