Skip to content

Commit

Permalink
use new PHPUnit version and pllyfill for older php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
red-led committed Oct 14, 2021
1 parent 5f1731c commit bd6ef4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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 bd6ef4f

Please sign in to comment.