Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Is the validationHasFailed method deprecated in 3.0.0?

In the 3.0.0 changelog it says:

  • Phalcon\Mvc\Model\Validation is now deprecated in favor of Phalcon\Validation

I know that it's still in the docs, but does this mean that the validationHasFailed method is deprecated?


Yes. It was removed. We are working on the doc now.

Check blog post about 3.0.0. There is how to use new validation in model - basically it's the same validation like in forms.