voku / HtmlMin

:clamp: HtmlMin: HTML Compressor and Minifier via PHP
MIT License
161 stars 22 forks source link

[Insight] Source code should not contain TODO comments - in src/voku/helper/HtmlMin.php, line 247 #2

Closed voku closed 8 years ago

voku commented 8 years ago

in src/voku/helper/HtmlMin.php, line 247

TODO comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    if (
        ($element->tag === 'script' || $element->tag === 'style')
        &&
        !isset($attributs['src'])
    ) {
      // TODO: protect inline css / js
    }
    */

    $attrs = array();
    foreach ((array)$attributs as $attrName => $attrValue) {

Posted from SensioLabsInsight