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 20b96f6 commit 1697132Copy full SHA for 1697132
test/Test.php
@@ -4,8 +4,8 @@
4
5
use \Eventviva\ImageResize;
6
7
-if (!class_exists('PHPUnit_Framework_TestCase')) {
8
- use PHPUnit\Framework\TestCase as PHPUnit_Framework_TestCase;
+if (version_compare(PHP_VERSION, '7.0.0') >= 0) {
+ class_alias('PHPUnit\Framework\TestCase', 'PHPUnit_Framework_TestCase');
9
}
10
11
class ImageResizeTest extends PHPUnit_Framework_TestCase
0 commit comments