Skip to content

Commit 99f6595

Browse files
Merge branch '4.4' into 5.0
* 4.4: [DI] Fix EnvVar not loaded when Loader requires an env var Fixed #34713 Move new messages to intl domain when possible [FrameworkBundle] Fix small typo in output comment chown and chgrp should also accept int as owner and group Revert "Fixed translations file dumper behavior" Fix RememberMe with null password [Validator] Fix plurals for sr_Latn (Serbian language written in latin script) validation messages Set booted flag to false when test kernel is unset [FrameworkBundle] remove messenger cache if not enabled [PhpUnitBridge][SymfonyTestsListenerTrait] Remove some unneeded code [HttpClient] Fix strict parsing of response status codes fix PHP const mapping keys using the inline notation [SecurityBundle] Drop duplicated code [FrameworkBundle] Make sure one can use fragments.hinclude_default_template Fix that no-cache requires positive validation with the origin, even for fresh responses Improve upgrading instructions for deprecated router options [DI] Suggest typed argument when binding fails with untyped argument
2 parents 9b85d1e + d1dfa01 commit 99f6595

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed

Debug/TraceableListenerTrait.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Bundle\SecurityBundle\Debug;
1313

14+
use Symfony\Component\VarDumper\Caster\ClassStub;
15+
1416
/**
1517
* @author Robin Chalas <[email protected]>
1618
*
@@ -35,4 +37,13 @@ public function getWrappedListener()
3537
{
3638
return $this->listener;
3739
}
40+
41+
public function getInfo(): array
42+
{
43+
return [
44+
'response' => $this->response,
45+
'time' => $this->time,
46+
'stub' => $this->stub ?? $this->stub = ClassStub::wrapCallable($this->listener),
47+
];
48+
}
3849
}

Debug/WrappedLazyListener.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,4 @@ public function authenticate(RequestEvent $event)
5959

6060
return $ret;
6161
}
62-
63-
public function getInfo(): array
64-
{
65-
return [
66-
'response' => $this->response,
67-
'time' => $this->time,
68-
'stub' => $this->stub ?? $this->stub = ClassStub::wrapCallable($this->listener),
69-
];
70-
}
7162
}

Debug/WrappedListener.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,4 @@ public function __invoke(RequestEvent $event)
3737
$this->time = microtime(true) - $startTime;
3838
$this->response = $event->getResponse();
3939
}
40-
41-
public function getInfo(): array
42-
{
43-
return [
44-
'response' => $this->response,
45-
'time' => $this->time,
46-
'stub' => $this->stub ?? $this->stub = ClassStub::wrapCallable($this->listener),
47-
];
48-
}
4940
}

0 commit comments

Comments
 (0)