Skip to content

Commit

Permalink
Bumps phpunit to 10.x (#5802)
Browse files Browse the repository at this point in the history
Co-authored-by: 李铭昕 <[email protected]>
  • Loading branch information
huangdijia and limingxinleo authored Jun 7, 2023
1 parent 058daab commit 640c6c1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/NoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
namespace HyperfTest\View;

use Hyperf\View\Engine\NoneEngine;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;

/**
* @internal
* @coversNothing
*/
#[CoversNothing]
class NoneTest extends TestCase
{
public function testRender()
Expand Down
2 changes: 2 additions & 0 deletions tests/PlatesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
namespace HyperfTest\View;

use Hyperf\View\Engine\PlatesEngine;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;

/**
* @internal
* @coversNothing
*/
#[CoversNothing]
class PlatesTest extends TestCase
{
public function testRender()
Expand Down
2 changes: 2 additions & 0 deletions tests/RenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use Hyperf\View\Mode;
use Hyperf\View\Render;
use Mockery;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
Expand All @@ -31,6 +32,7 @@
* @internal
* @coversNothing
*/
#[CoversNothing]
class RenderTest extends TestCase
{
protected function tearDown(): void
Expand Down
2 changes: 2 additions & 0 deletions tests/SmartyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
namespace HyperfTest\View;

use Hyperf\View\Engine\SmartyEngine;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;

/**
* @internal
* @coversNothing
*/
#[CoversNothing]
class SmartyTest extends TestCase
{
public function testRender()
Expand Down
2 changes: 2 additions & 0 deletions tests/ThinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
namespace HyperfTest\View;

use Hyperf\View\Engine\ThinkEngine;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;

/**
* @internal
* @coversNothing
*/
#[CoversNothing]
class ThinkTest extends TestCase
{
public function testRender()
Expand Down
2 changes: 2 additions & 0 deletions tests/TwigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
namespace HyperfTest\View;

use Hyperf\View\Engine\TwigEngine;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;

/**
* @internal
* @coversNothing
*/
#[CoversNothing]
class TwigTest extends TestCase
{
public function testRender()
Expand Down

0 comments on commit 640c6c1

Please sign in to comment.