-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method Sunspikes\ClamavValidator\ClamavValidator::validateColorHex does not exist. #40
Comments
Having the same issue when I tried to create my own custom validation class using Validator::extend. The issue appears to be that clamav-validator is trying to resolve my custom validation method
|
Is there a solution to this, please? |
For others with this issue, I added the package to Laravel's dont-discover section in composer.json, then used the following just before the validation code:
|
Same issue, using it with https://github.com/Intervention/validation will override all validations. @AlexanderWright hack works but isn't really a solution. Also will probably fail once you try to use validations together from both packages. |
Just like in #19 I have trouble using this extension. If used with for example this extension https://github.com/Kaishiyoku/laravel-color-validation and the form validation rule is just
['required', 'color_hex']
I get the following error:The text was updated successfully, but these errors were encountered: