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
It seems that Symfony changed their API. Back then it was called "validate" and we never tested against recent versions. I'm gonna take a look! =) Thanks for reporting!
Fixed on #139 and will be available on 0.6.0 since people using that validator on 0.5.0 with Symfony\Validator <= 0.2.1 would be suddenly affected by the compatibility break.
Tests where added to the validator so we don't keep years without noticing a problem like this!
Thanks a lot for your report @sharpner!
When calling:
v::create()->sf('Time')->assert('10:10');
I get this error:
Call to undefined method Symfony\Component\Validator\Constraints\TimeValidator::isValid()
Sf2 Validators use the method "validate" not isValid. I could not figure out how this could've worked in the first place.
The text was updated successfully, but these errors were encountered: