Skip to content

Commit 048369b

Browse files
committed
[Validator] fixed deprecation notices for BuildViolation() calls in constraints
1 parent 711769b commit 048369b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)