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.