set serialize_precision to 17, current PHP default
authorsaper <saper@saper.info>
Tue, 27 Oct 2015 17:44:41 +0000 (18:44 +0100)
committersaper <saper@saper.info>
Tue, 27 Oct 2015 17:44:41 +0000 (18:44 +0100)
Follow up to:
https://gerrit.wikimedia.org/r/#/c/249018/

Bug: T116683
Change-Id: I6e8dfab473ae2c18e68c8e4360159c9cc0e09758

tests/phpunit/phpunit.php

index fab6dfb..aaa7751 100755 (executable)
@@ -117,7 +117,7 @@ class PHPUnitMaintClass extends Maintenance {
                // Bug T116683 serialize_precision of 100
                // may break testing against floating point values
                // treated with PHP's serialize()
-               ini_set( 'serialize_precision', 14 );
+               ini_set( 'serialize_precision', 17 );
        }
 
        public function execute() {