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:
parent
f50c287109
commit
f2cd62a9ef
|
|
@ -30,6 +30,7 @@ class SampleTest extends TestCase
|
||||||
$skipped = [
|
$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_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/32_Chart_read_write_HTML.php', // idem
|
||||||
|
'Chart/35_Chart_render.php', // idem
|
||||||
];
|
];
|
||||||
// TCPDF and DomPDF libraries don't support PHP8 yet
|
// TCPDF and DomPDF libraries don't support PHP8 yet
|
||||||
if (\PHP_VERSION_ID >= 80000) {
|
if (\PHP_VERSION_ID >= 80000) {
|
||||||
|
|
@ -38,7 +39,6 @@ class SampleTest extends TestCase
|
||||||
[
|
[
|
||||||
'Pdf/21_Pdf_Domdf.php',
|
'Pdf/21_Pdf_Domdf.php',
|
||||||
'Pdf/21_Pdf_TCPDF.php',
|
'Pdf/21_Pdf_TCPDF.php',
|
||||||
'Chart/35_Chart_render.php', // idem
|
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue