Преглед изворни кода

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