Skip to content

Commit

Permalink
Add missing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 19, 2023
1 parent a7839df commit e90bbf9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ protected function tearDown(): void
* Returns a string representation of the test case.
*
* @throws Exception
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function toString(): string
{
Expand All @@ -355,6 +357,9 @@ public function toString(): string
return $buffer . $this->dataSetAsStringWithData();
}

/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
final public function count(): int
{
return 1;
Expand Down Expand Up @@ -417,6 +422,9 @@ final public function expectNotToPerformAssertions(): void
$this->doesNotPerformAssertions = true;
}

/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
final public function status(): TestStatus
{
return $this->status;
Expand Down

0 comments on commit e90bbf9

Please sign in to comment.