mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
move coversNothing to method annotations
This commit is contained in:
@ -39,8 +39,6 @@ final class Covers extends Attribute
|
||||
$attributes[] = "#[\PHPUnit\Framework\Attributes\CoversClass({$covering->class}::class)]";
|
||||
} elseif ($covering instanceof CoversFunction) {
|
||||
$attributes[] = "#[\PHPUnit\Framework\Attributes\CoversFunction('{$covering->function}')]";
|
||||
} else {
|
||||
$attributes[] = "#[\PHPUnit\Framework\Attributes\CoversNothing]";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user