samsonos/php_compressor

View on GitHub
src/Minify_HTML.php

Summary

Maintainability
A
1 hr
Test Coverage

Method process has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function process()
    {
        if ($this->_isXhtml === null) {
            $this->_isXhtml = (false !== strpos($this->_html, '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML'));
        }
Severity: Minor
Found in src/Minify_HTML.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status