Skip to content

Commit a111fa0

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

6 files changed

+12
-0
lines changed

tests/Cases/DatabasePostgresBuilderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
use Hyperf\DbConnection\Db;
2424
use HyperfTest\Database\PgSQL\Stubs\ContainerStub;
2525
use Mockery as m;
26+
use PHPUnit\Framework\Attributes\CoversNothing;
2627
use PHPUnit\Framework\TestCase;
2728

2829
/**
2930
* @internal
3031
* @coversNothing
3132
*/
33+
#[CoversNothing]
3234
class DatabasePostgresBuilderTest extends TestCase
3335
{
3436
protected function tearDown(): void

tests/Cases/DatabasePostgresProcessorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@
1212
namespace HyperfTest\Database\PgSQL\Cases;
1313

1414
use Hyperf\Database\PgSQL\Query\Processors\PostgresProcessor;
15+
use PHPUnit\Framework\Attributes\CoversNothing;
1516
use PHPUnit\Framework\TestCase;
1617

1718
/**
1819
* @internal
1920
* @coversNothing
2021
*/
22+
#[CoversNothing]
2123
class DatabasePostgresProcessorTest extends TestCase
2224
{
2325
public function testProcessColumnListing()

tests/Cases/DatabasePostgresSchemaGrammarTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
use Hyperf\Database\PgSQL\Schema\Grammars\PostgresGrammar;
1616
use Hyperf\Database\Schema\Blueprint;
1717
use Mockery as m;
18+
use PHPUnit\Framework\Attributes\CoversNothing;
1819
use PHPUnit\Framework\TestCase;
1920

2021
/**
2122
* @internal
2223
* @coversNothing
2324
*/
25+
#[CoversNothing]
2426
class DatabasePostgresSchemaGrammarTest extends TestCase
2527
{
2628
protected function tearDown(): void

tests/Cases/PostgreSqlProcessorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@
1212
namespace HyperfTest\Database\PgSQL\Cases;
1313

1414
use Hyperf\Database\PgSQL\Query\Processors\PostgresProcessor;
15+
use PHPUnit\Framework\Attributes\CoversNothing;
1516
use PHPUnit\Framework\TestCase;
1617

1718
/**
1819
* @internal
1920
* @coversNothing
2021
*/
22+
#[CoversNothing]
2123
class PostgreSqlProcessorTest extends TestCase
2224
{
2325
public function testProcessColumnListing()

tests/Cases/PostgreSqlSwooleExtConnectionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@
2323
use Hyperf\Support\Filesystem\Filesystem;
2424
use HyperfTest\Database\PgSQL\Stubs\ContainerStub;
2525
use Mockery;
26+
use PHPUnit\Framework\Attributes\CoversNothing;
2627
use PHPUnit\Framework\TestCase;
2728
use Symfony\Component\Console\Style\OutputStyle;
2829

2930
/**
3031
* @internal
3132
* @coversNothing
3233
*/
34+
#[CoversNothing]
3335
class PostgreSqlSwooleExtConnectionTest extends TestCase
3436
{
3537
protected Migrator $migrator;

tests/DBAL/ConnectionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414
use Hyperf\Database\PgSQL\DBAL\Connection;
1515
use Hyperf\Database\PgSQL\DBAL\Result;
1616
use Hyperf\Database\PgSQL\DBAL\Statement;
17+
use PHPUnit\Framework\Attributes\CoversNothing;
1718
use PHPUnit\Framework\TestCase;
1819
use Swoole\Coroutine\PostgreSQL;
1920

2021
/**
2122
* @internal
2223
* @coversNothing
2324
*/
25+
#[CoversNothing]
2426
class ConnectionTest extends TestCase
2527
{
2628
protected Connection $connection;

0 commit comments

Comments
 (0)