feat(tia): continues to work on poc

This commit is contained in:
nuno maduro
2026-04-16 08:19:44 -07:00
parent 494cc6e2a4
commit f09d6f2064
17 changed files with 135 additions and 436 deletions

View File

@ -14,10 +14,12 @@ use PHPUnit\Event\Test\FinishedSubscriber;
*
* @internal
*/
final class EnsureTiaCoverageIsFlushed implements FinishedSubscriber
final readonly class EnsureTiaCoverageIsFlushed implements FinishedSubscriber
{
public function __construct(private Recorder $recorder) {}
public function notify(Finished $event): void
{
Recorder::instance()->endTest();
$this->recorder->endTest();
}
}