@WouterJ Did you tried it? I got **"Catchable Fatal Error: Argument 2 passed to Symfony\Component\Validator\Mapping\ClassMetadata::addPropertyConstraint() must be an instance of Symfony\Component\Validator\Constraint, string given"** in such case without `~` at symfony 2.1.8