Skip to content

Commit 7ad12b4

Browse files
authored
Upgrade phpunit to 9.4 (#2617)
1 parent 8cb1367 commit 7ad12b4

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"hyperf/di": "~2.1.0",
2828
"malukenho/docheader": "^0.1.6",
2929
"mockery/mockery": "^1.0",
30-
"phpunit/phpunit": "^7.0.0",
30+
"phpunit/phpunit": "^9.4",
3131
"friendsofphp/php-cs-fixer": "^2.9"
3232
},
3333
"suggest": {

tests/Lua/EvalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
class EvalTest extends TestCase
2626
{
27-
protected function tearDown()
27+
protected function tearDown(): void
2828
{
2929
$container = ContainerStub::mockContainer();
3030
$redis = $container->get(\Redis::class);

tests/Lua/HashTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
class HashTest extends TestCase
2626
{
27-
protected function tearDown()
27+
protected function tearDown(): void
2828
{
2929
$container = ContainerStub::mockContainer();
3030
$redis = $container->get(\Redis::class);

tests/RedisConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030
class RedisConnectionTest extends TestCase
3131
{
32-
public function tearDown()
32+
protected function tearDown(): void
3333
{
3434
Mockery::close();
3535
}

tests/RedisProxyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
class RedisProxyTest extends TestCase
3333
{
34-
protected function tearDown()
34+
protected function tearDown(): void
3535
{
3636
$redis = $this->getRedis();
3737
$redis->flushDB();

tests/RedisTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*/
3535
class RedisTest extends TestCase
3636
{
37-
public function tearDown()
37+
protected function tearDown(): void
3838
{
3939
Mockery::close();
4040
Context::set('redis.connection.default', null);

0 commit comments

Comments
 (0)