From 31b7db9ee88f131a9b966d3a73f29090e240f6a2 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 4 Sep 2023 15:54:31 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/voku/helper/HtmlMin.php | 1 - src/voku/helper/HtmlMinDomObserverOptimizeAttributes.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/voku/helper/HtmlMin.php b/src/voku/helper/HtmlMin.php index 63e7cfd..e51bde9 100644 --- a/src/voku/helper/HtmlMin.php +++ b/src/voku/helper/HtmlMin.php @@ -1651,7 +1651,6 @@ private function minifyHtmlDom($html, $multiDecodeNewHtmlEntity): string } foreach ($dom->findMulti('*') as $element) { - // ------------------------------------------------------------------------- // Remove whitespace around tags. [protected html is still protected] // ------------------------------------------------------------------------- diff --git a/src/voku/helper/HtmlMinDomObserverOptimizeAttributes.php b/src/voku/helper/HtmlMinDomObserverOptimizeAttributes.php index d7f4c98..e1b7d3a 100644 --- a/src/voku/helper/HtmlMinDomObserverOptimizeAttributes.php +++ b/src/voku/helper/HtmlMinDomObserverOptimizeAttributes.php @@ -58,7 +58,6 @@ public function domElementAfterMinification(SimpleHtmlDomInterface $element, Htm $tagName = $element->getNode()->nodeName; $attrs = []; foreach ((array) $attributes as $attrName => $attrValue) { - // ------------------------------------------------------------------------- // Remove local domains from attributes. // -------------------------------------------------------------------------