Skip to content

Commit 3055cc2

Browse files
Merge branch '5.3' into 5.4
* 5.3: cs fix [DependencyInjection][Console] tighten types [Lock] fix derivating semaphore from key [Notifier] Fix TransportTestCase [Security\Core] Fix wrong deprecation message in UserPasswordValidator
2 parents 0b5bfcc + bdc2aac commit 3055cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Validator/Constraints/UserPasswordValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function validate($password, Constraint $constraint)
6767
}
6868

6969
if (!$user instanceof PasswordAuthenticatedUserInterface) {
70-
trigger_deprecation('symfony/security-core', '5.3', 'Using the "%s" validation constraint is deprecated.', PasswordAuthenticatedUserInterface::class, get_debug_type($user), UserPassword::class);
70+
trigger_deprecation('symfony/security-core', '5.3', 'Using the "%s" validation constraint without implementing the "%s" interface is deprecated, the "%s" class should implement it.', UserPassword::class, PasswordAuthenticatedUserInterface::class, get_debug_type($user));
7171
}
7272

7373
$salt = $user->getSalt();

0 commit comments

Comments
 (0)