move coversNothing to method annotations

This commit is contained in:
danilopolani
2022-03-09 11:05:10 +01:00
parent a027e24e3c
commit 3795870150
6 changed files with 83 additions and 31 deletions

View File

@ -224,7 +224,7 @@ final class TestCall
*/
public function coversNothing(): TestCall
{
$this->testCaseMethod->covers[] = new CoversNothing();
$this->testCaseMethod->covers = [new CoversNothing()];
return $this;
}