Server IP : / Your IP : 10.244.4.16 [ Web Server : nginx/1.25.3 System : Linux escuela-portal-app-54f56585bc-kst6g 5.15.0-1084-azure #93-Ubuntu SMP Sat Mar 15 14:12:29 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.13 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/449/cwd/app/vendor/phpoffice/phpspreadsheet/src/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; } }