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
2 changed files with 0 additions and 11 deletions
@@ -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
}
}