Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- fixes sebastianbergmann#1052 (precision errors on php 5.3-7.0)
  • Loading branch information
falkenhawk committed May 8, 2019
1 parent 6965274 commit e1fd4d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
require dirname(__FILE__) . '/../PHPUnit/Autoload.php';

ini_set('precision', 14);
ini_set('serialize_precision', 14);
1 change: 1 addition & 0 deletions build/travis-ci.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://phpunit.de/phpunit.xsd"
bootstrap="../Tests/bootstrap.php"
backupGlobals="false"
colors="true"
verbose="true">
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
bootstrap="PHPUnit/Autoload.php"
bootstrap="Tests/bootstrap.php"
backupGlobals="false"
verbose="true">
<testsuites>
Expand Down

0 comments on commit e1fd4d0

Please sign in to comment.