mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-02 11:03:42 +00:00
Replace PhonenumberConstraint with PhoneNumber constraint in user profile update.
- Updated the `UpdateProfileCommand` to use `\Misd\PhoneNumberBundle\Validator\Constraints\PhoneNumber` instead of the deprecated `PhonenumberConstraint`. - Removed unused `PhonenumberConstraint` imports from relevant files.
This commit is contained in:
@@ -23,7 +23,6 @@ use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
use Symfony\Component\Serializer\Annotation as Serializer;
|
||||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||
use Chill\MainBundle\Validation\Constraint\PhonenumberConstraint;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user