AfterSymfonyListener.php 442 Bytes
Newer Older
1 2
<?php

3 4 5 6 7 8
namespace Drupal\Tests\Listeners;

use PHPUnit\Framework\Test;
use PHPUnit\Framework\TestListener;
use PHPUnit\Framework\TestListenerDefaultImplementation;

9 10 11
/**
 * Listens to PHPUnit test runs.
 *
12
 * @internal
13
 */
14 15
class AfterSymfonyListener implements TestListener {
  use TestListenerDefaultImplementation;
16

17 18 19 20 21 22
  /**
   * {@inheritdoc}
   */
  public function endTest(Test $test, float $time): void {
    restore_error_handler();
  }
23

24
}