Code Duplication    Length = 5-5 lines in 2 locations

src/voku/helper/HtmlMin.php 2 locations

@@ 1209-1213 (lines=5) @@
1206
    }
1207
1208
    // remove deprecated charset-attribute (the browser will use the charset from the HTTP-Header, anyway)
1209
    if ($this->doRemoveDeprecatedScriptCharsetAttribute === true) {
1210
      if ($tag === 'script' && $attrName === 'charset' && !isset($allAttr['src'])) {
1211
        return true;
1212
      }
1213
    }
1214
1215
    // remove deprecated anchor-jump
1216
    if ($this->doRemoveDeprecatedAnchorName === true) {
@@ 1230-1234 (lines=5) @@
1227
    }
1228
1229
    // remove deprecated script-mime-types
1230
    if ($this->doRemoveDeprecatedTypeFromScriptTag === true) {
1231
      if ($tag === 'script' && $attrName === 'type' && isset($allAttr['src'], self::$executableScriptsMimeTypes[$attrValue])) {
1232
        return true;
1233
      }
1234
    }
1235
1236
    // remove 'value=""' from <input type="text">
1237
    if ($this->doRemoveValueFromEmptyInput === true) {