10000 [DI] Impossible to set an environment variable and then an array as container parameter by Phantas0s · Pull Request #25333 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DI] Impossible to set an environment variable and then an array as container parameter #25333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
[DI] Fix array typo
  • Loading branch information
Phantas0s committed Dec 5, 2017
commit 0dd99d4fe3be61adf6b0ff7b1b318c5e6d5936de
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ public function testResolveEnvValuesWithArray()

$container = new ContainerBuilder();
$container->setParameter('dummy', '%env(ANOTHER_DUMMY_ENV_VAR)%');
$container->setParameter('dummy2', ['1' => 'one', '2' => 'two']);
$container->setParameter('dummy2', array('1' => 'one', '2' => 'two'));

$container->resolveEnvPlaceholders('%dummy%', true);
$container->resolveEnvPlaceholders('%dummy2%', true);
Expand Down
0