Skip to content

Commit 7694604

Browse files
Bumps phpunit to 10.x (#5802)
Co-authored-by: 李铭昕 <715557344@qq.com>
1 parent 878aff6 commit 7694604

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

tests/BaseClientTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
use Hyperf\GrpcClient\Exception\GrpcClientException;
2323
use HyperfTest\GrpcClient\Stub\HiClient;
2424
use Mockery;
25+
use PHPUnit\Framework\Attributes\CoversNothing;
2526
use PHPUnit\Framework\TestCase;
2627
use Swoole\Coroutine\Http\Server;
2728
use TypeError;
@@ -30,6 +31,7 @@
3031
* @internal
3132
* @coversNothing
3233
*/
34+
#[CoversNothing]
3335
class BaseClientTest extends TestCase
3436
{
3537
public static $server;

tests/GoUserServiceTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@
1616
use Hyperf\Di\Container;
1717
use HyperfTest\GrpcClient\Stub\UserServiceClient;
1818
use Mockery;
19+
use PHPUnit\Framework\Attributes\CoversNothing;
1920
use PHPUnit\Framework\TestCase;
2021
use UserService\UserId;
2122

2223
/**
2324
* @internal
24-
* @coversNothing
2525
* protoc --php_out=./tests ./tests/Golang/pb/user/user.proto --proto_path=./tests/Golang/pb/user/
26+
* @coversNothing
2627
*/
28+
#[CoversNothing]
2729
class GoUserServiceTest extends TestCase
2830
{
2931
protected function setUp(): void

tests/RequestTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@
1414
use Grpc\Info;
1515
use Hyperf\Grpc\Parser;
1616
use Hyperf\GrpcClient\Request;
17+
use PHPUnit\Framework\Attributes\CoversNothing;
1718
use PHPUnit\Framework\TestCase;
1819

1920
/**
2021
* @internal
2122
* @coversNothing
2223
*/
24+
#[CoversNothing]
2325
class RequestTest extends TestCase
2426
{
2527
public function testRequest()

tests/RouteGuideClientTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Hyperf\GrpcClient\StreamingCall;
1919
use HyperfTest\GrpcClient\Stub\RouteGuideClient;
2020
use Mockery;
21+
use PHPUnit\Framework\Attributes\CoversNothing;
2122
use PHPUnit\Framework\TestCase;
2223
use Routeguide\Point;
2324
use Routeguide\Rectangle;
@@ -28,6 +29,7 @@
2829
* @internal
2930
* @coversNothing
3031
*/
32+
#[CoversNothing]
3133
class RouteGuideClientTest extends TestCase
3234
{
3335
protected function setUp(): void

0 commit comments

Comments
 (0)