浏览代码

Change short array syntax to long for 5.3 compatibility

Zsolt Szeberenyi 9 年之前
父节点
当前提交
d7a94bda1b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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())