Skip to content

Commit 2b0d030

Browse files
Ignore code that cannot be covered (it is tested! but code coverage data is not collected when this code is executed) from code coverage
1 parent e1ebcc4 commit 2b0d030

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Event/Facade.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ public function registerTracer(Tracer\Tracer $tracer): void
8181
$this->deferredDispatcher()->registerTracer($tracer);
8282
}
8383

84-
/** @noinspection PhpUnused */
84+
/**
85+
* @codeCoverageIgnore
86+
*
87+
* @noinspection PhpUnused
88+
*/
8589
public function initForIsolation(HRTime $offset, bool $exportObjects): CollectingDispatcher
8690
{
8791
$dispatcher = new CollectingDispatcher;

0 commit comments

Comments
 (0)