trait PhpUnitCompatibilityTrait in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/PhpunitCompatibilityTrait.php \Drupal\Tests\PhpunitCompatibilityTrait
Makes Drupal's test API forward compatible with multiple versions of PHPUnit.
Hierarchy
- trait \Drupal\Tests\PhpUnitCompatibilityTrait uses \Drupal\Tests\PhpUnitVersionDependentTestCompatibilityTrait
8 files declare their use of PhpUnitCompatibilityTrait
- AnnotationBridgeDecoratorTest.php in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Plugin/ Discovery/ AnnotationBridgeDecoratorTest.php - BuildTestBase.php in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php - ContainerTest.php in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php - Contains \Drupal\Tests\Component\DependencyInjection\ContainerTest.
- KernelTestBase.php in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - OptimizedPhpArrayDumperTest.php in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumperTest.php - Contains \Drupal\Tests\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumperTest.
File
- core/
tests/ Drupal/ Tests/ PhpUnitCompatibilityTrait.php, line 17
Namespace
Drupal\TestsView source
trait PhpUnitCompatibilityTrait {
use PhpUnitVersionDependentTestCompatibilityTrait;
}