Server : Apache/2.4.58 (Ubuntu) System : Linux yumsem00.cafe24.com 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 User : root ( 0) PHP Version : 8.2.14 Disable Function : NONE Directory : /var/www/html/wp-includes/22PhpOffice22/PhpSpreadsheet/Chart/Renderer/ |
Upload File : |
<?php namespace PhpOffice\PhpSpreadsheet\Chart\Renderer; /** * Jpgraph is not oficially maintained in Composer, so the version there * could be out of date. For that reason, all unit test requiring Jpgraph * are skipped. So, do not measure code coverage for this class till that * is fixed. * * This implementation uses abandoned package * https://packagist.org/packages/jpgraph/jpgraph * * @codeCoverageIgnore */ class JpGraph extends JpGraphRendererBase { protected static function init(): void { static $loaded = false; if ($loaded) { return; } // JpGraph is no longer included with distribution, but user may install it. // So Scrutinizer's complaint that it can't find it is reasonable, but unfixable. \JpGraph\JpGraph::load(); \JpGraph\JpGraph::module('bar'); \JpGraph\JpGraph::module('contour'); \JpGraph\JpGraph::module('line'); \JpGraph\JpGraph::module('pie'); \JpGraph\JpGraph::module('pie3d'); \JpGraph\JpGraph::module('radar'); \JpGraph\JpGraph::module('regstat'); \JpGraph\JpGraph::module('scatter'); \JpGraph\JpGraph::module('stock'); $loaded = true; } }