Forráskód Böngészése

Provide a global php.ini precision setting

This is needed, because some actual floating asserts in tests only work correctly with this specific precision of 8. If this setting is not provided, php will rely on the system's provided php.ini precision setting, which than will cause some failures in the tests.
Mike Meier 9 éve
szülő
commit
14ab967815
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      phpunit.xml.dist

+ 4 - 0
phpunit.xml.dist

@@ -30,4 +30,8 @@
         </whitelist>
     </filter>
 
+    <php>
+        <ini name="precision" value="8"/>
+    </php>
+
 </phpunit>