TCPDF doesn't support PHP 8.0, skip test
This commit is contained in:
parent
ea917c28da
commit
293efab0c2
|
|
@ -39,6 +39,12 @@ class TCPDFTest extends \PHPUnit\Framework\TestCase
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TCPDF version 6.3.5 doesn't support PHP 8.0, fixed via https://github.com/tecnickcom/TCPDF/pull/293,
|
||||||
|
// pending new release.
|
||||||
|
if (version_compare(PHP_VERSION, '8.0.0', '>=')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$file = __DIR__ . '/../../_files/tcpdf.pdf';
|
$file = __DIR__ . '/../../_files/tcpdf.pdf';
|
||||||
|
|
||||||
$phpWord = new PhpWord();
|
$phpWord = new PhpWord();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue