Skip to content
Permalink
Browse files

bug #32365 [DI] fix processing of regular parameter bags by MergeExte…

…nsionConfigurationPass (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
  • Loading branch information...
nicolas-grekas committed Jul 4, 2019
2 parents 1dc3b4a + b06d000 commit db05791ceb37dcd5c45be576e4d759c87c1f2e4d
@@ -186,6 +186,10 @@ public function resolveEnvPlaceholders($value, $format = null, array &$usedEnvs
$bag = $this->getParameterBag();
$value = $bag->resolveValue($value);
if (!$bag instanceof EnvPlaceholderParameterBag) {
return parent::resolveEnvPlaceholders($value, $format, $usedEnvs);
}
foreach ($bag->getEnvPlaceholders() as $env => $placeholders) {
if (false === strpos($env, ':')) {
continue;

0 comments on commit db05791

Please sign in to comment.
You can’t perform that action at this time.