Skip to content

Commit

Permalink
Merge pull request #90 from voku/analysis-Zn533a
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
voku authored Sep 4, 2023
2 parents c4d9932 + 31b7db9 commit c04332c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/voku/helper/HtmlMin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,6 @@ private function minifyHtmlDom($html, $multiDecodeNewHtmlEntity): string
}

foreach ($dom->findMulti('*') as $element) {

// -------------------------------------------------------------------------
// Remove whitespace around tags. [protected html is still protected]
// -------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion src/voku/helper/HtmlMinDomObserverOptimizeAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
// -------------------------------------------------------------------------
Expand Down

0 comments on commit c04332c

Please sign in to comment.