mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 02:07:23 +01:00
Merge branch '2.x' into 3.x
This commit is contained in:
13
src/Factories/Covers/CoversClass.php
Normal file
13
src/Factories/Covers/CoversClass.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Factories\Covers;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class CoversClass
|
||||
{
|
||||
public function __construct(public string $class) {}
|
||||
}
|
||||
13
src/Factories/Covers/CoversFunction.php
Normal file
13
src/Factories/Covers/CoversFunction.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Factories\Covers;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class CoversFunction
|
||||
{
|
||||
public function __construct(public string $function) {}
|
||||
}
|
||||
10
src/Factories/Covers/CoversNothing.php
Normal file
10
src/Factories/Covers/CoversNothing.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Factories\Covers;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class CoversNothing {}
|
||||
@ -166,8 +166,7 @@ final class TestCaseMethodFactory
|
||||
|
||||
$datasetsCode = '';
|
||||
|
||||
// prepend attribute
|
||||
$this->attributes = [
|
||||
= $this->attributes = [
|
||||
new Attribute(
|
||||
\PHPUnit\Framework\Attributes\Test::class,
|
||||
[],
|
||||
|
||||
Reference in New Issue
Block a user