mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
20 lines
364 B
PHP
20 lines
364 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Logging\JUnit\Subscriber;
|
|
|
|
use PHPUnit\Event\Test\Errored;
|
|
use PHPUnit\Event\Test\ErroredSubscriber;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class TestErroredSubscriber extends Subscriber implements ErroredSubscriber
|
|
{
|
|
public function notify(Errored $event): void
|
|
{
|
|
$this->logger()->testErrored($event);
|
|
}
|
|
}
|