You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
455 B
12 lines
455 B
<?php |
|
/* |
|
* Ensures compatibility with PHPUnit 6.x |
|
*/ |
|
|
|
if (!class_exists('PHPUnit_Framework_Constraint') && class_exists('PHPUnit\Framework\Constraint\Constraint')) { |
|
abstract class PHPUnit_Framework_Constraint extends \PHPUnit\Framework\Constraint\Constraint {} |
|
} |
|
|
|
if (!class_exists('PHPUnit_Framework_TestCase') && class_exists('PHPUnit\Framework\TestCase')) { |
|
abstract class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase {} |
|
}
|
|
|