From 8712fb0424cc7240405c6c708a571f0f7ac3bfee Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Mon, 29 Jun 2020 11:28:05 +0900 Subject: [PATCH] Drop polyfill that are not needed since PHP 7.2 --- src/PhpSpreadsheet/Chart/Renderer/JpGraph.php | 2 -- src/PhpSpreadsheet/Chart/Renderer/Polyfill.php | 9 --------- 2 files changed, 11 deletions(-) delete mode 100644 src/PhpSpreadsheet/Chart/Renderer/Polyfill.php diff --git a/src/PhpSpreadsheet/Chart/Renderer/JpGraph.php b/src/PhpSpreadsheet/Chart/Renderer/JpGraph.php index 5546da58..02fbfed7 100644 --- a/src/PhpSpreadsheet/Chart/Renderer/JpGraph.php +++ b/src/PhpSpreadsheet/Chart/Renderer/JpGraph.php @@ -21,8 +21,6 @@ use ScatterPlot; use Spline; use StockPlot; -require_once __DIR__ . '/Polyfill.php'; - class JpGraph implements IRenderer { private static $width = 640; diff --git a/src/PhpSpreadsheet/Chart/Renderer/Polyfill.php b/src/PhpSpreadsheet/Chart/Renderer/Polyfill.php deleted file mode 100644 index 5e233abd..00000000 --- a/src/PhpSpreadsheet/Chart/Renderer/Polyfill.php +++ /dev/null @@ -1,9 +0,0 @@ -