Skip to content

Commit

Permalink
Ignore methods from code coverage that are only called when code cove…
Browse files Browse the repository at this point in the history
…rage information cannot be collected
  • Loading branch information
sebastianbergmann committed Apr 28, 2024
1 parent 2ef62d8 commit 8309713
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Framework/TestCase.php
Expand Up @@ -920,6 +920,8 @@ final public function setPreserveGlobalState(bool $preserveGlobalState): void

/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*
* @codeCoverageIgnore
*/
final public function setInIsolation(bool $inIsolation): void
{
Expand All @@ -928,6 +930,8 @@ final public function setInIsolation(bool $inIsolation): void

/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*
* @codeCoverageIgnore
*/
final public function result(): mixed
{
Expand Down

0 comments on commit 8309713

Please sign in to comment.