src/PHPCoverFish/Common/CoverFishOutput.php
protected function getMacroCoverErrorMessage(CoverFishMessageError $mappingError)
    {
        $lineMessageMacro = '%s%s: %s ';
        if ($this->outputLevel > 1) {
            $lineMessageMacro = '%s%s: %s (ErrorCode: %s)';
        }

        return sprintf($lineMessageMacro,
            $this->setIndent(self::MACRO_CONFIG_DETAIL_LINE_INDENT),
            (false === $this->preventAnsiColors)
                ? Color::tplDarkGrayColor('Message')
                : 'Message',

            $mappingError->getMessageTitle(),
            $mappingError->getMessageCode()
        );
    }
protected function getMacroCoverErrorMessage(CoverFishMessageError $mappingError)
    {
        $lineMessageMacro = '%s%s: %s ';
        if ($this->outputLevel > 1) {
            $lineMessageMacro = '%s%s: %s (ErrorCode: %s)';
        }

        return sprintf($lineMessageMacro,
            $this->setIndent(self::MACRO_CONFIG_DETAIL_LINE_INDENT),
            (false === $this->preventAnsiColors)
                ? Color::tplDarkGrayColor('Message')
                : 'Message',

            $mappingError->getMessageTitle(),
            $mappingError->getMessageCode()
        );
    }
protected function getMacroCoverErrorMessage ( CoverFishMessageError $ mappingError ) { $ lineMessageMacro = '%s%s: %s ' ; if ( $ this -> outputLevel > 1 ) { $ lineMessageMacro = '%s%s: %s (ErrorCode: %s)' ; } return sprintf ( $ lineMessageMacro , $ this -> setIndent ( self :: MACRO_CONFIG_DETAIL_LINE_INDENT ) , ( false === $ this -> preventAnsiColors ) ? Color :: tplDarkGrayColor ( 'Message' ) : 'Message' , $ mappingError -> getMessageTitle ( ) , $ mappingError -> getMessageCode ( ) ) ; }
message block macro, line 04, error message

@param CoverFishMessageError $mappingError

@return string
message block macro line 04 error message