Skip to content

Commit e461d36

Browse files
[FramworkBundle] mark any env vars found in the ide setting as used
1 parent c3f57d0 commit e461d36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ public function load(array $configs, ContainerBuilder $container)
212212
'phpstorm' => 'phpstorm://open?file=%%f&line=%%l',
213213
];
214214
$ide = $config['ide'];
215+
// mark any env vars found in the ide setting as used
216+
$container->resolveEnvPlaceholders($ide);
215217

216218
$container->setParameter('templating.helper.code.file_link_format', str_replace('%', '%%', ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format')) ?: (isset($links[$ide]) ? $links[$ide] : $ide));
217219
}

0 commit comments

Comments
 (0)