Skip to content

Commit df663fb

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [Config] Backport type declarations [VarExporter] Fix test on PHP 8.1 [DependencyInjection] Fix CSV file mime type guess test for PHP 8.1
2 parents 7a7c9dd + 7787a85 commit df663fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/InstantiatorTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ public function testInstantiate()
5555
"\0".__NAMESPACE__."\Foo\0priv" => 234,
5656
];
5757

58-
$this->assertSame($expected, (array) Instantiator::instantiate(Bar::class, ['priv' => 123], [Foo::class => ['priv' => 234]]));
58+
$actual = (array) Instantiator::instantiate(Bar::class, ['priv' => 123], [Foo::class => ['priv' => 234]]);
59+
ksort($actual);
60+
61+
$this->assertSame($expected, $actual);
5962

6063
$e = Instantiator::instantiate('Exception', ['foo' => 123, 'trace' => [234]]);
6164

0 commit comments

Comments
 (0)