bug #31302 [FramworkBundle] mark any env vars found in the ide setting as used (nicolas-grekas)
This PR was merged into the 3.4 branch.
Discussion
----------
[FramworkBundle] mark any env vars found in the ide setting as used
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #31119
| License | MIT
| Doc PR | -
Commits
-------
e461d36ec4
[FramworkBundle] mark any env vars found in the ide setting as used
This commit is contained in:
commit
dc4fb76717
@ -212,6 +212,8 @@ class FrameworkExtension extends Extension
|
||||
'phpstorm' => 'phpstorm://open?file=%%f&line=%%l',
|
||||
];
|
||||
$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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user