You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this code knowing well it would not work because we don't support arguments yet but the validator validations on the rules did not catch the unknown type of 'required'.
Describe the bug
I used this code knowing well it would not work because we don't support arguments yet but the validator validations on the rules did not catch the unknown type of 'required'.
Here is a screenshot of the causing code:
The exception triggered is here.
https://github.com/johnnymast/redbox-validation/blob/65f941782eccd967121d865d5fc74dd2bd2b497c/src/Validator.php#L192-L198
To Reproduce
Add a nonexisting validation type in validate type and watch the horror.
Expected behavior
A clear and concise description of what you expected to happen.
Software
The text was updated successfully, but these errors were encountered: