Skip to content

Commit

Permalink
Merge pull request #3446 from morozov/phpunit-8.0
Browse files Browse the repository at this point in the history
Upgraded PHPUnit to 8.0
  • Loading branch information
morozov authored Feb 3, 2019
2 parents 1c75231 + 53912cc commit 30b9231
Show file tree
Hide file tree
Showing 115 changed files with 722 additions and 461 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.phpunit.result.cache
build/
logs/
reports/
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"doctrine/coding-standard": "^5.0",
"jetbrains/phpstorm-stubs": "^2018.1.2",
"phpstan/phpstan": "^0.11.1",
"phpunit/phpunit": "^7.4",
"phpunit/phpunit": "^8.0",
"symfony/console": "^2.0.5|^3.0|^4.0",
"symfony/phpunit-bridge": "^3.4.5|^4.0.5"
},
Expand Down
169 changes: 116 additions & 53 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/DBAL/Cache/QueryCacheProfileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class QueryCacheProfileTest extends DbalTestCase
'driver' => 'database_driver',
];

protected function setUp()
protected function setUp() : void
{
$this->queryCacheProfile = new QueryCacheProfile(self::LIFETIME, self::CACHE_KEY);
}
Expand Down Expand Up @@ -110,7 +110,7 @@ public function testConnectionParamsShouldBeHashed()
self::assertArrayHasKey('connectionParams', $params);

foreach ($this->connectionParams as $param) {
self::assertNotContains($param, $params['connectionParams']);
self::assertStringNotContainsString($param, $params['connectionParams']);
}
}

Expand Down
Loading

0 comments on commit 30b9231

Please sign in to comment.