Merge branch '2.x' into 3.x

This commit is contained in:
Nuno Maduro
2024-08-02 23:53:26 +01:00
8 changed files with 47 additions and 4 deletions

View File

@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace Pest\Factories\Covers;
/**
* @internal
*/
final class CoversClass
{
public function __construct(public string $class) {}
}

View File

@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace Pest\Factories\Covers;
/**
* @internal
*/
final class CoversFunction
{
public function __construct(public string $function) {}
}

View File

@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace Pest\Factories\Covers;
/**
* @internal
*/
final class CoversNothing {}

View File

@ -166,8 +166,7 @@ final class TestCaseMethodFactory
$datasetsCode = '';
// prepend attribute
$this->attributes = [
= $this->attributes = [
new Attribute(
\PHPUnit\Framework\Attributes\Test::class,
[],