Drop polyfill that are not needed since PHP 7.2

This commit is contained in:
Adrien Crivelli 2020-06-29 11:28:05 +09:00
parent 39f1a61120
commit 8712fb0424
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 0 additions and 11 deletions

View File

@ -21,8 +21,6 @@ use ScatterPlot;
use Spline; use Spline;
use StockPlot; use StockPlot;
require_once __DIR__ . '/Polyfill.php';
class JpGraph implements IRenderer class JpGraph implements IRenderer
{ {
private static $width = 640; private static $width = 640;

View File

@ -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
}
}