-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Reference] [UserPassword] Use the non-deprecated class for Symfony 2.2 #2297
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
[Reference] [UserPassword] Use the non-deprecated class for Symfony 2.2 #2297
Conversation
Sorry for the removed trailing whitespaces in the same commit, but I think it's worth merging them as well after all. |
👍 Please add a |
@wouterj Fixed |
`Symfony\Component\Security\Core\Validator\Constraints` namespace since | ||
Symfony 2.2. The `UserPassword` defined in the | ||
`Symfony\Component\Security\Core\Validator\Constraint` namespace is | ||
deprecated and will be removed in Symfony 2.3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is better to use something like:
Since Symfony 2.2, the `UserPassword*` classes in the
``Symfony\Component\Security\Core\Validator\Constraint``
namespace is depecreated and will be removed in Symfony 2.3.
Please use the `UserPassword*` classes in the
``Symfony\Component\Security\Core\Validator\Constraints``
namespace instead.
@wouterj Sounds better with your sentence. I replaced mine with yours with just a few tweaks. |
Ok, thank you for the quick response, good catch and nice PR! |
You're welcome! Thanks for your help |
[Reference] [UserPassword] Use the non-deprecated class for Symfony 2.2
Very nice guys - thanks Michaël and WouterJ! |
No description provided.