Drop polyfill that are not needed since PHP 7.2
This commit is contained in:
parent
39f1a61120
commit
8712fb0424
|
@ -21,8 +21,6 @@ use ScatterPlot;
|
|||
use Spline;
|
||||
use StockPlot;
|
||||
|
||||
require_once __DIR__ . '/Polyfill.php';
|
||||
|
||||
class JpGraph implements IRenderer
|
||||
{
|
||||
private static $width = 640;
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
|
||||
// This is a dirty workaround to output JpGraph charts even when antialiasing is not available
|
||||
if (!function_exists('imageantialias')) {
|
||||
function imageantialias(...$args): void
|
||||
{
|
||||
// Do nothing
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue