-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[2.7] Validator API: 2.4 version is gone, configuring API version is deprecated #4804
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
Comments
part of this will be covered with #4807 |
Ref #4094 |
See symfony/symfony#14016. The 2.4 validator API is removed in 2.7 AND the 2.5-bc mode (and the whole configurability of the API version) was deprecated. |
Actually, the 2.5-BC mode is the only way in 2.7 (i.e. having the new API and the BC layer available at the same time). The only reason for the 2.5-BC vs 2.5 (which is actually the 3.0 API) madness was because we wanted to avoid bumping the requirement to 5.3.9 in 2.5 (which actually was a mistake IMO) |
@stof it certainly caused a lot of confusion :). So now in 2.7, it functions like every other feature: it has a new way, and the old way exists, but is deprecated. Very simple. |
I'm confused: is there anything left to do in the validator docs? Thanks! |
I'm closing this as no longer relevant ... but if I'm wrong, please reopen ir. Thanks! |
See symfony/symfony#13338 (and there will be other work later, potentially to simplify further: symfony/symfony#13338 (comment)).
At the very least, I believe in 2.7, 2.5-bc will be available to all users, since the PHP minimum version has been bumped.
The text was updated successfully, but these errors were encountered: