Code Duplication    Length = 5-5 lines in 2 locations

src/voku/helper/HtmlMin.php 2 locations

@@ 1224-1228 (lines=5) @@
1221
    }
1222
1223
    // remove deprecated charset-attribute (the browser will use the charset from the HTTP-Header, anyway)
1224
    if ($this->doRemoveDeprecatedScriptCharsetAttribute === true) {
1225
      if ($tag === 'script' && $attrName === 'charset' && !isset($allAttr['src'])) {
1226
        return true;
1227
      }
1228
    }
1229
1230
    // remove deprecated anchor-jump
1231
    if ($this->doRemoveDeprecatedAnchorName === true) {
@@ 1245-1249 (lines=5) @@
1242
    }
1243
1244
    // remove deprecated script-mime-types
1245
    if ($this->doRemoveDeprecatedTypeFromScriptTag === true) {
1246
      if ($tag === 'script' && $attrName === 'type' && isset($allAttr['src'], self::$executableScriptsMimeTypes[$attrValue])) {
1247
        return true;
1248
      }
1249
    }
1250
1251
    // remove 'value=""' from <input type="text">
1252
    if ($this->doRemoveValueFromEmptyInput === true) {