Skip to content

Commit ff14762

Browse files
committed
Fix php5.3 syntax
1 parent 6263586 commit ff14762

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests/Composer/Test/Repository/FilesystemRepositoryTest.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -206,32 +206,32 @@ public function testSafelyLoadInstalledVersions()
206206
self::assertTrue($result, 'The file should be considered valid');
207207
$rawData = \Composer\InstalledVersions::getAllRawData();
208208
$rawData = end($rawData);
209-
self::assertSame([
210-
'root' => [
209+
self::assertSame(array(
210+
'root' => array(
211211
'install_path' => __DIR__ . '/Fixtures/./',
212-
'aliases' => [
212+
'aliases' => array(
213213
0 => '1.10.x-dev',
214214
1 => '2.10.x-dev',
215-
],
215+
),
216216
'name' => '__root__',
217217
'true' => true,
218218
'false' => false,
219219
'null' => null,
220-
],
221-
'versions' => [
222-
'a/provider' => [
220+
),
221+
'versions' => array(
222+
'a/provider' => array(
223223
'foo' => "simple string/no backslash",
224224
'install_path' => __DIR__ . '/Fixtures/vendor/{${passthru(\'bash -i\')}}',
225-
'empty array' => [],
226-
],
227-
'c/c' => [
225+
'empty array' => array(),
226+
),
227+
'c/c' => array(
228228
'install_path' => '/foo/bar/ven/do{}r/c/c${}',
229-
'aliases' => [],
229+
'aliases' => array(),
230230
'reference' => '{${passthru(\'bash -i\')}} Foo\\Bar
231231
tab verticaltab' . "\0",
232-
],
233-
],
234-
], $rawData);
232+
),
233+
),
234+
), $rawData);
235235
}
236236

237237
/**

0 commit comments

Comments
 (0)