move covers attribute above the class

This commit is contained in:
danilopolani
2022-03-05 17:23:03 +01:00
parent 50d8688b79
commit 21364779f9
4 changed files with 41 additions and 13 deletions

View File

@ -11,8 +11,15 @@ use Pest\Factories\TestCaseMethodFactory;
/**
* @internal
*/
final class Covers
final class Covers extends Attribute
{
/**
* Determine if the attribute should be placed above the classe instead of above the method.
*
* @var bool
*/
public const ABOVE_CLASS = true;
/**
* Adds attributes regarding the "covers" feature.
*