Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc4fb76

Browse files
committed
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-------e461d36 [FramworkBundle] mark any env vars found in the ide setting as used
2 parents52be2bb +e461d36 commitdc4fb76

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)

[8]ページ先頭

©2009-2025 Movatter.jp