diff --git a/.travis.yml b/.travis.yml index 2999b91..93c473d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: php php: - 7.1 + - 7.2 before_script: - composer update --prefer-source --ignore-platform-reqs diff --git a/composer.json b/composer.json index 7172f14..3901450 100644 --- a/composer.json +++ b/composer.json @@ -10,10 +10,10 @@ } ], "require": { - "php": "~7.0" + "php": "~7.1" }, "require-dev": { - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^7" }, "autoload": { "psr-4": { diff --git a/test/unit/DecodeTest.php b/test/unit/DecodeTest.php index 61e81d8..9dfd5d3 100644 --- a/test/unit/DecodeTest.php +++ b/test/unit/DecodeTest.php @@ -4,13 +4,13 @@ namespace PSR7SessionEncodeDecodeTest; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use PSR7SessionEncodeDecode\Decoder; /** * @covers \PSR7SessionEncodeDecode\Decoder */ -class DecodeTest extends PHPUnit_Framework_TestCase +class DecodeTest extends TestCase { /** * @var Decoder diff --git a/test/unit/EncoderTest.php b/test/unit/EncoderTest.php index 29cb6a5..639680e 100644 --- a/test/unit/EncoderTest.php +++ b/test/unit/EncoderTest.php @@ -4,13 +4,13 @@ namespace PSR7SessionEncodeDecodeTest; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use PSR7SessionEncodeDecode\Encoder; /** * @covers \PSR7SessionEncodeDecode\Encoder */ -class EncoderTest extends PHPUnit_Framework_TestCase +class EncoderTest extends TestCase { /** * @var Encoder