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

Appearance settings

Commit db05791

Browse filesBrowse files
bug #32365 [DI] fix processing of regular parameter bags by MergeExtensionConfigurationPass (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [DI] fix processing of regular parameter bags by MergeExtensionConfigurationPass | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Spotted in and needed by #32294 Commits ------- b06d000 [DI] fix processing of regular parameter bags by MergeExtensionConfigurationPass
2 parents 1dc3b4a + b06d000 commit db05791
Copy full SHA for db05791

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ public function resolveEnvPlaceholders($value, $format = null, array &$usedEnvs
186186
$bag = $this->getParameterBag();
187187
$value = $bag->resolveValue($value);
188188

189+
if (!$bag instanceof EnvPlaceholderParameterBag) {
190+
return parent::resolveEnvPlaceholders($value, $format, $usedEnvs);
191+
}
192+
189193
foreach ($bag->getEnvPlaceholders() as $env => $placeholders) {
190194
if (false === strpos($env, ':')) {
191195
continue;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.