Skip to content

Commit 9e16a16

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: (43 commits) [AssetMapper] Fix entrypoint scripts are not preloaded Fix typo in method resolvePackages Make FormPerformanceTestCase compatible with PHPUnit 10 Avoid calling getInvocationCount() [AssetMapper] Always downloading vendor files [Security] Fix resetting traceable listeners [HttpClient] Fix type error with http_version 1.1 [DependencyInjection] Add tests for `AutowireLocator`/`AutowireIterator` [DependencyInjection] Add `#[AutowireIterator]` attribute and improve `#[AutowireLocator]` Update documentation link Fix typo that causes unit test to fail Fix CS [AssetMapper] Add audit command [Mailer] Use idn encoded address otherwise Brevo throws an error [Messenger] Resend failed retries back to failure transport [FrameworkBundle] Fix call to invalid method in NotificationAssertionsTrait [Validator] Add missing italian translations [Notifier] Fix failing testcase Fix order array sum normalizedData and nestedData Add test for 0 and '0' in PeriodicalTrigger Fix '0' case error and remove duplicate code ...
2 parents cfe1474 + fc7a711 commit 9e16a16

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
@@ -17,11 +17,12 @@
1717
],
1818
"require": {
1919
"php": ">=8.2",
20-
"symfony/security-core": "^6.4|^7.0",
2120
"symfony/http-foundation": "^6.4|^7.0",
2221
"symfony/http-kernel": "^6.4|^7.0",
2322
"symfony/polyfill-mbstring": "~1.0",
24-
"symfony/property-access": "^6.4|^7.0"
23+
"symfony/property-access": "^6.4|^7.0",
24+
"symfony/security-core": "^6.4|^7.0",
25+
"symfony/service-contracts": "^1.10|^2|^3"
2526
},
2627
"require-dev": {
2728
"symfony/cache": "^6.4|^7.0",

0 commit comments

Comments
 (0)