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 ad8af05 commit 0c66426Copy full SHA for 0c66426
tests/BarcodeValidatorTest.php
@@ -4,7 +4,12 @@
4
5
use violuke\Barcodes\BarcodeValidator;
6
7
-class BarcodeValidatorTest extends \PHPUnit\Framework\TestCase
+// Nasty work around for testing over multiple PHPUnit versions
8
+if (!class_exists('PHPUnit_Framework_TestCase')) {
9
+ class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase {}
10
+}
11
+
12
+class BarcodeValidatorTest extends \PHPUnit_Framework_TestCase
13
{
14
15
public function testInit()
0 commit comments