Parcourir la source

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

Martin Hujer il y a 10 ans
Parent
commit
5b88bf9d9f
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  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)
+        );
     }
 
     /**