You are here

class AfterSymfonyListener in Drupal 8

Same name in this branch
  1. 8 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/AfterSymfonyListener.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\AfterSymfonyListener
  2. 8 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/AfterSymfonyListener.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\AfterSymfonyListener

Listens to PHPUnit test runs.

@internal

Hierarchy

  • class \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\AfterSymfonyListener implements \PHPUnit\Framework\TestListener uses \PHPUnit\Framework\TestListenerDefaultImplementation

Expanded class hierarchy of AfterSymfonyListener

File

core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/AfterSymfonyListener.php, line 14

Namespace

Drupal\TestTools\PhpUnitCompatibility\PhpUnit6
View source
class AfterSymfonyListener implements TestListener {
  use TestListenerDefaultImplementation;

  /**
   * {@inheritdoc}
   */
  public function endTest(Test $test, $time) {
    restore_error_handler();
  }

}

Members