Skip to content

Commit 53912cc

Browse files
committed
Upgraded PHPUnit to 8.0
1 parent 1c75231 commit 53912cc

File tree

115 files changed

+722
-461
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+722
-461
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.phpunit.result.cache
12
build/
23
logs/
34
reports/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"doctrine/coding-standard": "^5.0",
3131
"jetbrains/phpstorm-stubs": "^2018.1.2",
3232
"phpstan/phpstan": "^0.11.1",
33-
"phpunit/phpunit": "^7.4",
33+
"phpunit/phpunit": "^8.0",
3434
"symfony/console": "^2.0.5|^3.0|^4.0",
3535
"symfony/phpunit-bridge": "^3.4.5|^4.0.5"
3636
},

composer.lock

Lines changed: 116 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Doctrine/Tests/DBAL/Cache/QueryCacheProfileTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class QueryCacheProfileTest extends DbalTestCase
3333
'driver' => 'database_driver',
3434
];
3535

36-
protected function setUp()
36+
protected function setUp() : void
3737
{
3838
$this->queryCacheProfile = new QueryCacheProfile(self::LIFETIME, self::CACHE_KEY);
3939
}
@@ -110,7 +110,7 @@ public function testConnectionParamsShouldBeHashed()
110110
self::assertArrayHasKey('connectionParams', $params);
111111

112112
foreach ($this->connectionParams as $param) {
113-
self::assertNotContains($param, $params['connectionParams']);
113+
self::assertStringNotContainsString($param, $params['connectionParams']);
114114
}
115115
}
116116

0 commit comments

Comments
 (0)