class AfterSymfonyListener

Same name in this branch
  1. 8.9.x core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/AfterSymfonyListener.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\AfterSymfonyListener

Listens to PHPUnit test runs.

@internal

Hierarchy

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

Expanded class hierarchy of AfterSymfonyListener

File

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

Namespace

Drupal\TestTools\PhpUnitCompatibility\PhpUnit7
View source
class AfterSymfonyListener implements TestListener {
    use TestListenerDefaultImplementation;
    
    /**
     * {@inheritdoc}
     */
    public function endTest(Test $test, float $time) : void {
        restore_error_handler();
    }

}

Members

Title Sort descending Modifiers Object type Summary
AfterSymfonyListener::endTest public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.