private function createError(\DOMDocument $dom, $appliedFixer)
    {
        $error = $dom->createElement('error');
        $error->setAttribute('severity', 'warning');
        $error->setAttribute('source', 'PHP-CS-Fixer.'.$appliedFixer);
        $error->setAttribute('message', 'Found violation(s) of type: '.$appliedFixer);

        return $error;
    }
private function createError(\DOMDocument $dom, $appliedFixer)
    {
        $error = $dom->createElement('error');
        $error->setAttribute('severity', 'warning');
        $error->setAttribute('source', 'PHP-CS-Fixer.'.$appliedFixer);
        $error->setAttribute('message', 'Found violation(s) of type: '.$appliedFixer);

        return $error;
    }
private function createError ( \ DOMDocument $ dom , $ appliedFixer ) { $ error = $ dom -> createElement ( 'error' ) ; $ error -> setAttribute ( 'severity' , 'warning' ) ; $ error -> setAttribute ( 'source' , 'PHP-CS-Fixer.' . $ appliedFixer ) ; $ error -> setAttribute ( 'message' , 'Found violation(s) of type: ' . $ appliedFixer ) ; return $ error ; }
@param \DOMDocument $dom
@param string       $appliedFixer

@return \DOMElement
@param \ DOMDocument $dom @param string $appliedFixer