We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a4131 commit 952a294Copy full SHA for 952a294
Tests/bootstrap.php
@@ -2,6 +2,10 @@
2
3
function loader($class)
4
{
5
+ // Support for pre-PHP 5.6 versions
6
+ if ($class === '\PHPUnit\Framework\TestCase') {
7
+ class_alias('PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
8
+ }
9
$file = $class . '.php';
10
if (file_exists($file)) {
11
require $file;
0 commit comments