Skip to content

Commit 8309713

Browse files
Ignore methods from code coverage that are only called when code coverage information cannot be collected
1 parent 2ef62d8 commit 8309713

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Framework/TestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,8 @@ final public function setPreserveGlobalState(bool $preserveGlobalState): void
920920

921921
/**
922922
* @internal This method is not covered by the backward compatibility promise for PHPUnit
923+
*
924+
* @codeCoverageIgnore
923925
*/
924926
final public function setInIsolation(bool $inIsolation): void
925927
{
@@ -928,6 +930,8 @@ final public function setInIsolation(bool $inIsolation): void
928930

929931
/**
930932
* @internal This method is not covered by the backward compatibility promise for PHPUnit
933+
*
934+
* @codeCoverageIgnore
931935
*/
932936
final public function result(): mixed
933937
{

0 commit comments

Comments
 (0)