diff --git a/.travis.yml b/.travis.yml index 22777b8..4ee579c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,10 @@ dist: trusty sudo: required language: php php: - - 5.6 - - 7.0 - 7.1 - 7.2 - 7.3 + - 7.4 addons: apt: diff --git a/composer.json b/composer.json index d618750..8ec551c 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "icewind/streams": ">=0.2.0" }, "require-dev": { - "phpunit/phpunit": "^5.7", + "phpunit/phpunit": "^7.0", "friendsofphp/php-cs-fixer": "^2.13" }, "autoload" : { diff --git a/tests/ParserTest.php b/tests/ParserTest.php index 6e5a9ad..bf14046 100644 --- a/tests/ParserTest.php +++ b/tests/ParserTest.php @@ -10,7 +10,7 @@ use Icewind\SMB\IFileInfo; use Icewind\SMB\Wrapped\FileInfo; -class ParserTest extends \PHPUnit_Framework_TestCase { +class ParserTest extends \PHPUnit\Framework\TestCase { public function modeProvider() { return [ ['D', IFileInfo::MODE_DIRECTORY], diff --git a/tests/TestCase.php b/tests/TestCase.php index 93fc623..9b10613 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -7,7 +7,7 @@ namespace Icewind\SMB\Test; -abstract class TestCase extends \PHPUnit_Framework_TestCase { +abstract class TestCase extends \PHPUnit\Framework\TestCase { protected function requireBackendEnv($backend) { if (getenv('BACKEND') and getenv('BACKEND') !== $backend) { $this->markTestSkipped('Skipping tests for ' . $backend . ' backend');