Explorar o código

ZF2015-09: The Zend_Crypt_MathTest should run on PHP 5.2/5.3

Martin Hujer %!s(int64=10) %!d(string=hai) anos
pai
achega
5b88bf9d9f
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      tests/Zend/Crypt/MathTest.php

+ 4 - 4
tests/Zend/Crypt/MathTest.php

@@ -80,10 +80,10 @@ class Zend_Crypt_MathTest extends PHPUnit_Framework_TestCase
 
     public static function provideRandInt()
     {
-        return [
-            [2, 1, 10000, 100, 0.9, 1.1, false],
-            [2, 1, 10000, 100, 0.8, 1.2, true]
-        ];
+        return array(
+            array(2, 1, 10000, 100, 0.9, 1.1, false),
+            array(2, 1, 10000, 100, 0.8, 1.2, true)
+        );
     }
 
     /**