skip TCPDF test in PHP 5.3, because
version 6.3.5 doesn't support PHP 5.3, fixed via https://github.com/tecnickcom/TCPDF/pull/197, pending new release.
This commit is contained in:
parent
eaf2212aa8
commit
6d49b28678
|
|
@ -33,6 +33,12 @@ class TCPDFTest extends \PHPUnit\Framework\TestCase
|
||||||
*/
|
*/
|
||||||
public function testConstruct()
|
public function testConstruct()
|
||||||
{
|
{
|
||||||
|
// TCPDF version 6.3.5 doesn't support PHP 5.3, fixed via https://github.com/tecnickcom/TCPDF/pull/197,
|
||||||
|
// pending new release.
|
||||||
|
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$file = __DIR__ . '/../../_files/tcpdf.pdf';
|
$file = __DIR__ . '/../../_files/tcpdf.pdf';
|
||||||
|
|
||||||
$phpWord = new PhpWord();
|
$phpWord = new PhpWord();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue