We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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?

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.