From dbf3b0da44b02c6766aaa290a96f207ab4cca0fa Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 5 Jun 2023 14:52:23 +0200 Subject: [PATCH] wip #5991 --- src/SVG/SVGTools.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SVG/SVGTools.php b/src/SVG/SVGTools.php index 204928f..1aa7d84 100644 --- a/src/SVG/SVGTools.php +++ b/src/SVG/SVGTools.php @@ -4,6 +4,7 @@ namespace Fluidbook\Tools\SVG; use Cubist\Util\CommandLine; use Cubist\Util\Files\Files; +use Cubist\Util\PHP; use Fluidbook\Tools\FluidbookTools; class SVGTools { @@ -107,6 +108,7 @@ class SVGTools { } public static function optimizeRaster($matches, $resolution) { + PHP::neverStop(); preg_match_all('/([a-z\:\-]*)="([^"]*)"/', $matches[1], $m); foreach ($m[1] as $i => $key) { -- 2.39.5