mirror of
https://github.com/pestphp/pest.git
synced 2026-04-23 23:47:30 +02:00
feat(tia): continues to work on poc
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user