Skip to content

Commit 02a1d1b

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Security] Add badge resolution to profiler [AssetMapper] Allow specifying packages to update with importmap:update [AssetMapper] Make importmap:install command download the same version Remove unneeded variable [PropertyInfo] Remove checking if AttributeMetadataInterface setIgnore method exist [VarDumper][FrameworkBundle] Remove checking if OutputFormatterStyle setHref method exist [HttpKernel][DebugBundle] Always call CliDumper setDisplayOptions method [DoctrineBridge][Messenger] Always use executeStatement [DoctrineBridge] Remove LazyGhost feature detection [Messenger] Fix PHPDoc template for `TransportFactoryInterface`
2 parents 5d088ee + 0a1437c commit 02a1d1b

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

DependencyInjection/DebugExtension.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
2121
use Symfony\Component\DependencyInjection\Reference;
2222
use Symfony\Component\VarDumper\Caster\ReflectionCaster;
23-
use Symfony\Component\VarDumper\Dumper\CliDumper;
2423
use Symfony\Component\VarDumper\Dumper\HtmlDumper;
2524

2625
/**
@@ -80,13 +79,11 @@ public function load(array $configs, ContainerBuilder $container): void
8079
;
8180
}
8281

83-
if (method_exists(CliDumper::class, 'setDisplayOptions')) {
84-
$container->getDefinition('var_dumper.cli_dumper')
85-
->addMethodCall('setDisplayOptions', [[
86-
'fileLinkFormat' => new Reference('debug.file_link_formatter', ContainerBuilder::IGNORE_ON_INVALID_REFERENCE),
87-
]])
88-
;
89-
}
82+
$container->getDefinition('var_dumper.cli_dumper')
83+
->addMethodCall('setDisplayOptions', [[
84+
'fileLinkFormat' => new Reference('debug.file_link_formatter', ContainerBuilder::IGNORE_ON_INVALID_REFERENCE),
85+
]])
86+
;
9087

9188
if (!class_exists(Command::class) || !class_exists(ServerLogCommand::class)) {
9289
$container->removeDefinition('monolog.command.server_log');

0 commit comments

Comments
 (0)