mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Add Initial teamcity support
This commit is contained in:
19
src/Logging/TeamCity/Subscriber/TestFinishedSubscriber.php
Normal file
19
src/Logging/TeamCity/Subscriber/TestFinishedSubscriber.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Logging\TeamCity\Subscriber;
|
||||
|
||||
use PHPUnit\Event\Test\Finished;
|
||||
use PHPUnit\Event\Test\FinishedSubscriber;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class TestFinishedSubscriber extends Subscriber implements FinishedSubscriber
|
||||
{
|
||||
public function notify(Finished $event): void
|
||||
{
|
||||
$this->logger()->testFinished($event);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user