[FramworkBundle] mark any env vars found in the ide setting as used
This commit is contained in:
parent
c3f57d0015
commit
e461d36ec4
@ -212,6 +212,8 @@ class FrameworkExtension extends Extension
|
|||||||
'phpstorm' => 'phpstorm://open?file=%%f&line=%%l',
|
'phpstorm' => 'phpstorm://open?file=%%f&line=%%l',
|
||||||
];
|
];
|
||||||
$ide = $config['ide'];
|
$ide = $config['ide'];
|
||||||
|
// mark any env vars found in the ide setting as used
|
||||||
|
$container->resolveEnvPlaceholders($ide);
|
||||||
|
|
||||||
$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));
|
$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));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user