Skip to content

Commit bbc80b9

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: (27 commits) feat: add completion for DebugAutowiring search argument [Routing] Add support for aliasing routes [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait` Fix CS [Console] Open CompleteCommand for custom outputs [Intl] Update the ICU data to 70.1 [Messenger] Add completion for failed messages commands. Fix tests Fixing missing full_stack variable that's needed by toolbar.html.twig [PropertyInfo] Bump phpstan/phpdoc-parser [Security] Backport type fixes [VarExporter] escape unicode chars involved in directionality [Framework] Add completion to debug:container [Messenger] Add completion to command messenger:consume [Intl] Update the ICU data to 70.1 Fix more generic types Default access_decision_manager.strategy option with merge. Fix typos Update validators.ca.xlf Add missing Validator translations for Estonian ... Signed-off-by: Alexander M. Turek <me@derrabus.de>
2 parents 18b3371 + f6b6063 commit bbc80b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

EventListener/WebDebugToolbarListener.php

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

1212
namespace Symfony\Bundle\WebProfilerBundle\EventListener;
1313

14+
use Symfony\Bundle\FullStack;
1415
use Symfony\Bundle\WebProfilerBundle\Csp\ContentSecurityPolicyHandler;
1516
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
1617
use Symfony\Component\HttpFoundation\Request;
@@ -142,6 +143,7 @@ protected function injectToolbar(Response $response, Request $request, array $no
142143
$toolbar = "\n".str_replace("\n", '', $this->twig->render(
143144
'@WebProfiler/Profiler/toolbar_js.html.twig',
144145
[
146+
'full_stack' => class_exists(FullStack::class),
145147
'excluded_ajax_paths' => $this->excludedAjaxPaths,
146148
'token' => $response->headers->get('X-Debug-Token'),
147149
'request' => $request,

0 commit comments

Comments
 (0)