Skip to content

Commit

Permalink
Provide a global php.ini precision setting
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mike Meier committed Apr 11, 2016
1 parent 2d74c3c commit 14ab967
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@
</whitelist>
</filter>

<php>
<ini name="precision" value="8"/>
</php>

</phpunit>

0 comments on commit 14ab967

Please sign in to comment.