Skip to content

Commit fc7a711

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: Make FormPerformanceTestCase compatible with PHPUnit 10 [Security] Fix resetting traceable listeners [HttpClient] Fix type error with http_version 1.1 [FrameworkBundle] Fix call to invalid method in NotificationAssertionsTrait [Validator] Add missing italian translations Fix order array sum normalizedData and nestedData Fix duplicate component in UPGRADE-6.3.md [Notifier] Tweak an error message Change incorrect message, when the sender in the global envelope or the from header of asEmailMessage() is not defined. [Messenger] Check if PCNTL is installed Bump Symfony version to 6.3.6 Update VERSION for 6.3.5 Update CHANGELOG for 6.3.5 Bump Symfony version to 5.4.30 Update VERSION for 5.4.29 Update CONTRIBUTORS for 5.4.29 Update CHANGELOG for 5.4.29 [Mailer] [Mailgun] Fix outlook sender
2 parents aacb804 + 9db8050 commit fc7a711

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Authenticator/Debug/TraceableAuthenticatorManagerListener.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@
1616
use Symfony\Component\Security\Http\Firewall\AbstractListener;
1717
use Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener;
1818
use Symfony\Component\VarDumper\Caster\ClassStub;
19+
use Symfony\Contracts\Service\ResetInterface;
1920

2021
/**
2122
* Decorates the AuthenticatorManagerListener to collect information about security authenticators.
2223
*
2324
* @author Robin Chalas <[email protected]>
2425
*/
25-
final class TraceableAuthenticatorManagerListener extends AbstractListener
26+
final class TraceableAuthenticatorManagerListener extends AbstractListener implements ResetInterface
2627
{
2728
private AuthenticatorManagerListener $authenticationManagerListener;
2829
private array $authenticatorsInfo = [];
@@ -80,4 +81,9 @@ public function getAuthenticatorsInfo(): array
8081
{
8182
return $this->authenticatorsInfo;
8283
}
84+
85+
public function reset(): void
86+
{
87+
$this->authenticatorsInfo = [];
88+
}
8389
}

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
"require": {
1919
"php": ">=8.1",
2020
"symfony/deprecation-contracts": "^2.5|^3",
21-
"symfony/security-core": "^6.4|^7.0",
2221
"symfony/http-foundation": "^6.2|^7.0",
2322
"symfony/http-kernel": "^6.3|^7.0",
2423
"symfony/polyfill-mbstring": "~1.0",
25-
"symfony/property-access": "^5.4|^6.0|^7.0"
24+
"symfony/property-access": "^5.4|^6.0|^7.0",
25+
"symfony/security-core": "^6.4|^7.0",
26+
"symfony/service-contracts": "^1.10|^2|^3"
2627
},
2728
"require-dev": {
2829
"symfony/cache": "^5.4|^6.0|^7.0",

0 commit comments

Comments
 (0)