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

3
/**
4
 * @file
5 6
 * Listens to PHPUnit test runs.
 *
7 8
 * In order to manage different method signatures between PHPUnit versions, we
 * dynamically load a class dependent on the PHPUnit runner version.
9 10
 */

11 12 13
namespace Drupal\Tests\Listeners;

use Drupal\TestTools\PhpUnitCompatibility\RunnerVersion;
14

15
class_alias("Drupal\TestTools\PhpUnitCompatibility\PhpUnit" . RunnerVersion::getMajor() . "\AfterSymfonyListener", AfterSymfonyListener::class);