AfterSymfonyListener.php
Same filename in this branch
Listens to PHPUnit test runs.
In order to manage different method signatures between PHPUnit versions, we dynamically load a class dependent on the PHPUnit runner version.
Namespace
Drupal\Tests\ListenersFile
-
core/
tests/ Drupal/ Tests/ Listeners/ AfterSymfonyListener.php
View source
<?php
/**
* @file
* Listens to PHPUnit test runs.
*
* In order to manage different method signatures between PHPUnit versions, we
* dynamically load a class dependent on the PHPUnit runner version.
*/
namespace Drupal\Tests\Listeners;
use Drupal\TestTools\PhpUnitCompatibility\RunnerVersion;
class_alias("Drupal\\TestTools\\PhpUnitCompatibility\\PhpUnit" . RunnerVersion::getMajor() . "\\AfterSymfonyListener", AfterSymfonyListener::class);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.