Since Symfony 2.1 FormValidatorInterface
which is implemented by CallbackValidator
is deprecated, and removed in 2.3.
Upgrade to 2.1 file gives solution:
The interface
FormValidatorInterface
was deprecated and will be removed in Symfony 2.3.If you implemented custom validators using this interface, you can substitute them by event listeners listening to the
FormEvents::POST_BIND
(or any other of the*BIND
events). In case you used theCallbackValidator
class, you should now pass the callback directly toaddEventListener
.