Klimov Paul
8 years ago
2 changed files with 15 additions and 1 deletions
@ -0,0 +1,12 @@
|
||||
<?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 {} |
||||
} |
Loading…
Reference in new issue