mirror of
https://github.com/doctrine/DoctrineMigrationsBundle.git
synced 2026-03-23 22:32:17 +01:00
Upgrade PHPUnit
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
/vendor/
|
||||
/composer.lock
|
||||
/.phpcs-cache
|
||||
/.phpunit.result.cache
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@ use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
||||
|
||||
use function assert;
|
||||
|
||||
class DoctrineCommandTest extends TestCase
|
||||
{
|
||||
/** @var string */
|
||||
@@ -28,8 +26,6 @@ class DoctrineCommandTest extends TestCase
|
||||
public function testConfigureMigrations(): void
|
||||
{
|
||||
$configurationMock = $this->createMock(Configuration::class);
|
||||
assert($configurationMock instanceof Configuration);
|
||||
|
||||
$configurationMock->method('getMigrations')
|
||||
->willReturn([]);
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"doctrine/migrations": "^2.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^6.4|^7.0",
|
||||
"phpunit/phpunit": "^7.0|^8.0|^9.0",
|
||||
"mikey179/vfsstream": "^1.6",
|
||||
"doctrine/coding-standard": "^8.0",
|
||||
"phpstan/phpstan": "^0.12",
|
||||
|
||||
Reference in New Issue
Block a user