Skip to content

Commit dc9932f

Browse files
committed
Remove remaining deprecated features
1 parent 97bb57c commit dc9932f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CHANGELOG
1212
* Remove the `security.user_password_encoder.generic` service, the `security.password_encoder` and the `Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface` aliases,
1313
use `security.user_password_hasher`, `security.password_hasher` and `Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface` instead
1414
* Remove the `logout.success_handler` and `logout.handlers` config options, register a listener on the `LogoutEvent` event instead
15+
* Remove `FirewallConfig::getListeners()`, use `FirewallConfig::getAuthenticators()` instead
1516

1617
5.4
1718
---

Security/FirewallConfig.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,6 @@ public function getAccessDeniedUrl(): ?string
102102
return $this->accessDeniedUrl;
103103
}
104104

105-
/**
106-
* @deprecated since Symfony 5.4, use {@see getListeners()} instead
107-
*/
108-
public function getListeners(): array
109-
{
110-
trigger_deprecation('symfony/security-bundle', '5.4', 'Method "%s()" is deprecated, use "%s::getAuthenticators()" instead.', __METHOD__, __CLASS__);
111-
112-
return $this->getAuthenticators();
113-
}
114-
115105
public function getAuthenticators(): array
116106
{
117107
return $this->authenticators;

0 commit comments

Comments
 (0)