diff --git a/.travis.yml b/.travis.yml index 42b65e8..5f22da1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ language: php php: - 7.2 - 7.3 + - 7.4 + - 8.0 before_install: - composer self-update diff --git a/composer.json b/composer.json index 4971010..f4c01de 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ }, "minimum-stability": "dev", "require-dev": { - "phpunit/phpunit": "5.*" + "phpunit/phpunit": ">=7.0", + "yoast/phpunit-polyfills": "1.x-dev" } -} \ No newline at end of file +} diff --git a/tests/ImportTest.php b/tests/ImportTest.php index f0199af..cc00019 100644 --- a/tests/ImportTest.php +++ b/tests/ImportTest.php @@ -3,13 +3,13 @@ namespace Tests\Thamaraiselvam\MysqlImport; use Exception; -use PHPUnit_Framework_TestCase; use ReflectionMethod; use ReflectionProperty; use stdClass; use Thamaraiselvam\MysqlImport\Import; +use Yoast\PHPUnitPolyfills\TestCases\TestCase; -class ImportTest extends PHPUnit_Framework_TestCase +class ImportTest extends TestCase { /** * @dataProvider constructorSetVariablesDataProvider