We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e329a0 commit 3509eacCopy full SHA for 3509eac
2 files changed
tests/ConstructTest.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-class ConstructTest extends PHPUnit\Framework\TestCase
+class ConstructTest extends \PHPUnit_Framework_TestCase
4
{
5
public function testInit()
6
tests/bootstrap.php
@@ -1,5 +1,9 @@
+if (! class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
+ class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
+}
+
7
#include 'Parserus.php';
8
9
spl_autoload_register(
0 commit comments