Skip to content

Commit

Permalink
Merge pull request #16 from red-led/add_php_versions
Browse files Browse the repository at this point in the history
Add newer PHP versions to Travis config
  • Loading branch information
thamaraiselvam authored Oct 14, 2021
2 parents 8e48848 + bd6ef4f commit 1056c6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ language: php
php:
- 7.2
- 7.3
- 7.4
- 8.0

before_install:
- composer self-update
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"minimum-stability": "dev",
"require-dev": {
"phpunit/phpunit": "5.*"
"phpunit/phpunit": ">=7.0",
"yoast/phpunit-polyfills": "1.x-dev"
}
}
}
4 changes: 2 additions & 2 deletions tests/ImportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1056c6b

Please sign in to comment.