Skip to content

Commit

Permalink
* php 7 (#32)
Browse files Browse the repository at this point in the history
* added support for php 7.1 >= (#31, #30  ) 
* bcdiv will throw exception if you will try to make division by zero
* all result have trailing zero removed
  • Loading branch information
krowinski authored May 1, 2019
1 parent d07e18c commit 834c41e
Show file tree
Hide file tree
Showing 4 changed files with 351 additions and 606 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly

matrix:
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
],
"type": "library",
"require": {
"php": ">=5.3",
"php": ">=7.1",
"ext-bcmath": "*"
},
"require-dev": {
"php": ">=5.4",
"phpunit/phpunit": "^4.8|^5.7|^6.5"
"phpunit/phpunit": "^7.5"
},
"license": "MIT",
"authors": [
Expand Down
Loading

0 comments on commit 834c41e

Please sign in to comment.