Skip to content

Commit 8bd77d9

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

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tests/FunctionsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace HyperfTest\Stringable;
1313

1414
use Hyperf\Stringable\Stringable;
15+
use PHPUnit\Framework\Attributes\CoversNothing;
1516
use PHPUnit\Framework\TestCase;
1617
use ReflectionClass;
1718

@@ -21,6 +22,7 @@
2122
* @internal
2223
* @coversNothing
2324
*/
25+
#[CoversNothing]
2426
class FunctionsTest extends TestCase
2527
{
2628
public function testStr()

tests/StrTest.php

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

1414
use Hyperf\Stringable\Str;
1515
use InvalidArgumentException;
16+
use PHPUnit\Framework\Attributes\CoversNothing;
1617
use PHPUnit\Framework\TestCase;
1718
use Ramsey\Uuid\UuidInterface;
1819

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

tests/StringableTest.php

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

1414
use Hyperf\Stringable\Stringable;
1515
use InvalidArgumentException;
16+
use PHPUnit\Framework\Attributes\CoversNothing;
1617
use PHPUnit\Framework\TestCase;
1718

1819
/**
1920
* @internal
2021
* @coversNothing
2122
*/
23+
#[CoversNothing]
2224
class StringableTest extends TestCase
2325
{
2426
public function testCharAt()

0 commit comments

Comments
 (0)