diff options
author | Bruce Wells <brucekwells@gmail.com> | 2019-10-31 05:14:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 05:14:36 +0300 |
commit | b8456057af1bcaad362ccb5ef55e8c696dd63e11 (patch) | |
tree | 82e1740afc4f7143b2998ceb1e04e980e054f9a0 | |
parent | ce5001573292f864471acf006b69186e2a2ba8be (diff) |
Upgrading to PHP 7.1 (#48)V1.0.0
* Subtraction fix (#46) (#7)
* Updated unit tests
* Fixed docs
* Better unary minus support
* Subtraction fix (#46) (#8)
* Updated unit tests
* Fixed docs
* Better unary minus support
* Upgrading PHPUnit and dropping support for 5.6 and 7.0
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | composer.json | 4 | ||||
-rw-r--r-- | tests/MathTest.php | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 551e6ed..3a63f2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - 5.6 - 7.1 - 7.2 - 7.3 diff --git a/composer.json b/composer.json index dc35c2f..4c57b47 100644 --- a/composer.json +++ b/composer.json @@ -12,10 +12,10 @@ } ], "require": { - "php": ">=5.6" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~5.0" + "phpunit/phpunit": "~7.0" }, "autoload": { "psr-0": {"NXP": "src/"} diff --git a/tests/MathTest.php b/tests/MathTest.php index 7f5ce9b..e289016 100644 --- a/tests/MathTest.php +++ b/tests/MathTest.php @@ -21,7 +21,7 @@ use NXP\Exception\UnknownOperatorException; use NXP\Exception\UnknownTokenException; use NXP\Exception\UnknownVariableException; -class MathTest extends \PHPUnit_Framework_TestCase +class MathTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider providerExpressions |