Skip to content

Commit 7af7268

Browse files
Thomason, JamesThomason, James
authored andcommitted
Use long array syntax to adhere to coding standards
1 parent 0ce50e0 commit 7af7268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ public function testCompileWithArrayResolveEnv()
673673
$container->setParameter('foo', '%env(json:ARRAY)%');
674674
$container->compile(true);
675675

676-
$this->assertSame(['foo' => 'bar'], $container->getParameter('foo'));
676+
$this->assertSame(array('foo' => 'bar'), $container->getParameter('foo'));
677677

678678
putenv('ARRAY');
679679
}
@@ -688,7 +688,7 @@ public function testCompileWithArrayAndAnotherResolveEnv()
688688
$container->setParameter('bar', '%env(DUMMY_ENV_VAR)%');
689689
$container->compile(true);
690690

691-
$this->assertSame(['foo' => 'bar'], $container->getParameter('foo'));
691+
$this->assertSame(array('foo' => 'bar'), $container->getParameter('foo'));
692692
$this->assertSame('abc', $container->getParameter('bar'));
693693

694694
putenv('DUMMY_ENV_VAR');

0 commit comments

Comments
 (0)