소스 검색

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())