DomPDF doesn't yet support PHP 7.3.0, so suppress tests for that combination of version and library dependency

This commit is contained in:
MarkBaker 2018-10-14 16:21:40 +01:00
parent 467c9664a8
commit 874467d7c1
1 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,12 @@ class SampleTest extends TestCase
$skipped[] = 'Pdf/21_Pdf_TCPDF.php'; $skipped[] = 'Pdf/21_Pdf_TCPDF.php';
} }
// DomPDF does not support PHP 7.3
if (version_compare(PHP_VERSION, '7.3.0') >= 0) {
$skipped[] = 'Basic/26_Utf8.php';
$skipped[] = 'Pdf/21_Pdf_Domdf.php';
}
// Unfortunately some tests are too long be ran with code-coverage // Unfortunately some tests are too long be ran with code-coverage
// analysis on Travis, so we need to exclude them // analysis on Travis, so we need to exclude them
global $argv; global $argv;