Skip to content

Commit cf8c84b

Browse files
committed
Remove class alias for PHPUnit. It should work without those
1 parent dc72b6c commit cf8c84b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: tests/bootstrap-connection-close.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
require __DIR__ . '/../autoload.php';
1313

14-
if (class_exists('\PHPUnit\Framework\TestCase')) {
15-
class_alias(\PHPUnit\Framework\TestCase::class, 'PHPUnit_Framework_TestCase');
16-
}
14+
//if (class_exists('\PHPUnit\Framework\TestCase')) {
15+
// class_alias(\PHPUnit\Framework\TestCase::class, 'PHPUnit_Framework_TestCase');
16+
//}
1717

1818
/* set up a trace function that will be called for each communication with the server */
1919

Diff for: tests/bootstrap_connection_keep_alive.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
require __DIR__ . '/../autoload.php';
1313

14-
if (class_exists('\PHPUnit\Framework\TestCase')) {
15-
class_alias(\PHPUnit\Framework\TestCase::class, 'PHPUnit_Framework_TestCase');
16-
}
14+
//if (class_exists('\PHPUnit\Framework\TestCase')) {
15+
// class_alias(\PHPUnit\Framework\TestCase::class, 'PHPUnit_Framework_TestCase');
16+
//}
1717

1818
/* set up a trace function that will be called for each communication with the server */
1919

0 commit comments

Comments
 (0)