src/Kevintweber/PhpunitMarkupValidators/Connector/HTML5ValidatorNuConnector.php
public function setInput($value)
    {
        if (stripos($value, 'html>') === false) {
            $this->input = '<!DOCTYPE html><html><head><meta charset="utf-8" /><title>Title</title></head><body>'.
                $value.'</body></html>';
        } else {
            $this->input = $value;
        }
    }
public function setInput($value)
    {
        if (stripos($value, 'html>') === false) {
            $this->input = '<!DOCTYPE html><html><head><meta charset="utf-8" /><title>Title</title></head><body>'.
                $value.'</body></html>';
        } else {
            $this->input = $value;
        }
    }
public function setInput ( $ value ) { if ( stripos ( $ value , 'html>' ) === false ) { $ this -> input = '<!DOCTYPE html><html><head><meta charset="utf-8" /><title>Title</title></head><body>' . $ value . '</body></html>' ; } else { $ this -> input = $ value ; } }
Ensure that HTML fragments are submitted as complete webpages.

@param string $value The HTML markup, either a fragment or a complete webpage.
Ensure that HTML fragments are submitted as complete webpages .