Browse Source

Change short array syntax to long for 5.3 compatibility

Zsolt Szeberenyi 9 years ago
parent
commit
d7a94bda1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Composer/Test/Package/LockerTest.php

+ 1 - 1
tests/Composer/Test/Package/LockerTest.php

@@ -225,7 +225,7 @@ class LockerTest extends \PHPUnit_Framework_TestCase
 
         $locker = new Locker(new NullIO, $json, $repo, $inst, $this->getJsonContent());
 
-        $differentHash = md5($this->getJsonContent(['name' => 'test2']));
+        $differentHash = md5($this->getJsonContent(array('name' => 'test2')));
 
         $json
             ->expects($this->once())