Skip to content

Commit

Permalink
Upgrade phpunit to 9.4 (#2617)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Oct 9, 2020
1 parent bfbe171 commit 7ec11e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"hyperf/framework": "~2.1.0",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0.0",
"phpunit/phpunit": "^9.4",
"friendsofphp/php-cs-fixer": "^2.9"
},
"suggest": {
Expand Down
4 changes: 2 additions & 2 deletions tests/PageResolverListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
*/
class PageResolverListenerTest extends TestCase
{
protected function setUp()
protected function setUp(): void
{
Context::set(PsrServerRequestInterface::class, null);
Context::set('http.request.parsedData', null);
}

protected function tearDown()
protected function tearDown(): void
{
Mockery::close();
Context::set(PsrServerRequestInterface::class, null);
Expand Down

0 comments on commit 7ec11e1

Please sign in to comment.