PhpUnit and Jpgraph (#2307)

35_Char_render.php had previously been a problem only for PHP8+. It is now a problem for PHP7.4, and will therefore be skipped all the time.
This commit is contained in:
oleibman
2021-09-26 09:39:15 -07:00
committed by GitHub
parent f50c287109
commit f2cd62a9ef
@@ -30,6 +30,7 @@ class SampleTest extends TestCase
$skipped = [
'Chart/32_Chart_read_write_PDF.php', // Unfortunately JpGraph is not up to date for latest PHP and raise many warnings
'Chart/32_Chart_read_write_HTML.php', // idem
'Chart/35_Chart_render.php', // idem
];
// TCPDF and DomPDF libraries don't support PHP8 yet
if (\PHP_VERSION_ID >= 80000) {
@@ -38,7 +39,6 @@ class SampleTest extends TestCase
[
'Pdf/21_Pdf_Domdf.php',
'Pdf/21_Pdf_TCPDF.php',
'Chart/35_Chart_render.php', // idem
]
);
}