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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
] ]
); );
} }