Skip to content

Commit e234e3b

Browse files
IonBazanchalasr
authored andcommitted
Point Security::* constants to SecurityRequestAttributes::* ones
1 parent aa8d792 commit e234e3b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Security.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,16 @@ class Security implements AuthorizationCheckerInterface
2626
{
2727
/**
2828
* @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security::ACCESS_DENIED_ERROR instead
29-
*
30-
* In 7.0, move this constant to the NewSecurityHelper class and make it reference SecurityRequestAttributes::ACCESS_DENIED_ERROR.
3129
*/
3230
public const ACCESS_DENIED_ERROR = '_security.403_error';
3331

3432
/**
3533
* @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security::AUTHENTICATION_ERROR instead
36-
*
37-
* In 7.0, move this constant to the NewSecurityHelper class and make it reference SecurityRequestAttributes::AUTHENTICATION_ERROR.
3834
*/
3935
public const AUTHENTICATION_ERROR = '_security.last_error';
4036

4137
/**
4238
* @deprecated since Symfony 6.2, use \Symfony\Bundle\SecurityBundle\Security::LAST_USERNAME instead
43-
*
44-
* In 7.0, move this constant to the NewSecurityHelper class and make it reference SecurityRequestAttributes::LAST_USERNAME.
4539
*/
4640
public const LAST_USERNAME = '_security.last_username';
4741

0 commit comments

Comments
 (0)