Skip to content

Commit 260968a

Browse files
committed
Upgrade PHPUnit
1 parent f59b7e2 commit 260968a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/vendor/
22
/composer.lock
33
/.phpcs-cache
4+
/.phpunit.result.cache
45

Tests/Command/DoctrineCommandTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
use Symfony\Component\DependencyInjection\ContainerBuilder;
1212
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
1313

14-
use function assert;
15-
1614
class DoctrineCommandTest extends TestCase
1715
{
1816
/** @var string */
@@ -28,8 +26,6 @@ protected function setUp(): void
2826
public function testConfigureMigrations(): void
2927
{
3028
$configurationMock = $this->createMock(Configuration::class);
31-
assert($configurationMock instanceof Configuration);
32-
3329
$configurationMock->method('getMigrations')
3430
->willReturn([]);
3531

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"doctrine/migrations": "^2.2"
2727
},
2828
"require-dev": {
29-
"phpunit/phpunit": "^6.4|^7.0",
29+
"phpunit/phpunit": "^7.0|^8.0|^9.0",
3030
"mikey179/vfsstream": "^1.6",
3131
"doctrine/coding-standard": "^8.0",
3232
"phpstan/phpstan": "^0.12",

0 commit comments

Comments
 (0)