Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 000c29c

Browse files
committed
[Validator] fixed deprecation notices for BuildViolation() calls in constraints
1 parent 4fc8078 commit 000c29c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Core/Validator/Constraints/UserPasswordValidator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\Component\Security\Core\User\UserInterface;
1515
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
1616
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
17+
use Symfony\Component\Validator\Context\ExecutionContextInterface;
1718
use Symfony\Component\Validator\Constraint;
1819
use Symfony\Component\Validator\ConstraintValidator;
1920
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;

0 commit comments

Comments
 (0)