Skip to content

Commit 24ee7cb

Browse files
Bumps phpunit to 10.x (#5802)
Co-authored-by: 李铭昕 <[email protected]>
1 parent d6848a0 commit 24ee7cb

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

tests/Lua/EvalTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
use HyperfTest\Redis\Stub\ContainerStub;
1717
use HyperfTest\Redis\Stub\HGetAllMultipleStub;
1818
use Mockery;
19+
use PHPUnit\Framework\Attributes\CoversNothing;
1920
use PHPUnit\Framework\TestCase;
2021
use Redis;
2122

2223
/**
2324
* @internal
2425
* @coversNothing
2526
*/
27+
#[CoversNothing]
2628
class EvalTest extends TestCase
2729
{
2830
protected function tearDown(): void

tests/Lua/HashTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
use Hyperf\Stringable\Str;
1717
use HyperfTest\Redis\Stub\ContainerStub;
1818
use Mockery;
19+
use PHPUnit\Framework\Attributes\CoversNothing;
1920
use PHPUnit\Framework\TestCase;
2021
use Redis;
2122

2223
/**
2324
* @internal
2425
* @coversNothing
2526
*/
27+
#[CoversNothing]
2628
class HashTest extends TestCase
2729
{
2830
protected function tearDown(): void

tests/RedisConnectionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@
2525
use HyperfTest\Redis\Stub\RedisConnectionStub;
2626
use HyperfTest\Redis\Stub\RedisPoolStub;
2727
use Mockery;
28+
use PHPUnit\Framework\Attributes\CoversNothing;
2829
use PHPUnit\Framework\TestCase;
2930
use Psr\Container\ContainerInterface;
3031

3132
/**
3233
* @internal
3334
* @coversNothing
3435
*/
36+
#[CoversNothing]
3537
class RedisConnectionTest extends TestCase
3638
{
3739
protected function tearDown(): void

tests/RedisProxyTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
use Hyperf\Redis\Pool\RedisPool;
2626
use Hyperf\Redis\Redis;
2727
use Mockery;
28+
use PHPUnit\Framework\Attributes\CoversNothing;
2829
use PHPUnit\Framework\TestCase;
2930
use RedisCluster;
3031

@@ -34,6 +35,7 @@
3435
* @internal
3536
* @coversNothing
3637
*/
38+
#[CoversNothing]
3739
class RedisProxyTest extends TestCase
3840
{
3941
protected function tearDown(): void

tests/RedisTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use HyperfTest\Redis\Stub\RedisPoolFailedStub;
3030
use HyperfTest\Redis\Stub\RedisPoolStub;
3131
use Mockery;
32+
use PHPUnit\Framework\Attributes\CoversNothing;
3233
use PHPUnit\Framework\TestCase;
3334
use RedisCluster;
3435
use RedisSentinel;
@@ -43,6 +44,7 @@
4344
* @internal
4445
* @coversNothing
4546
*/
47+
#[CoversNothing]
4648
class RedisTest extends TestCase
4749
{
4850
protected function tearDown(): void

0 commit comments

Comments
 (0)