mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 06:27:28 +02: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);
|
|
}
|
|
}
|