Procházet zdrojové kódy

Change short array syntax to long for 5.3 compatibility

Zsolt Szeberenyi před 9 roky
rodič
revize
d7a94bda1b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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())