Skip to content

Commit 75c3d1e

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

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tests/ContextTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Hyperf\Context\Context as CoContext;
1515
use Hyperf\WebSocketServer\Context;
16+
use PHPUnit\Framework\Attributes\CoversNothing;
1617
use PHPUnit\Framework\TestCase;
1718

1819
use function Hyperf\Coroutine\parallel;
@@ -21,6 +22,7 @@
2122
* @internal
2223
* @coversNothing
2324
*/
25+
#[CoversNothing]
2426
class ContextTest extends TestCase
2527
{
2628
public function testHas()

tests/SenderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
use Hyperf\WebSocketServer\Sender;
1919
use HyperfTest\ModelCache\Stub\StdoutLogger;
2020
use Mockery;
21+
use PHPUnit\Framework\Attributes\CoversNothing;
2122
use PHPUnit\Framework\TestCase;
2223
use Psr\Container\ContainerInterface;
2324

2425
/**
2526
* @internal
2627
* @coversNothing
2728
*/
29+
#[CoversNothing]
2830
class SenderTest extends TestCase
2931
{
3032
protected function tearDown(): void

tests/ServerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use HyperfTest\WebSocketServer\Stub\FooServer;
2424
use HyperfTest\WebSocketServer\Stub\WebSocketStub;
2525
use Mockery;
26+
use PHPUnit\Framework\Attributes\CoversNothing;
2627
use PHPUnit\Framework\TestCase;
2728
use Psr\Container\ContainerInterface;
2829
use Swoole\Http\Request as SwooleRequest;
@@ -32,6 +33,7 @@
3233
* @internal
3334
* @coversNothing
3435
*/
36+
#[CoversNothing]
3537
class ServerTest extends TestCase
3638
{
3739
protected function tearDown(): void

0 commit comments

Comments
 (0)