protected function getErrorMessage(\Requirement $requirement, $lineSize = 70)
    {
        if ($requirement->isFulfilled()) {
            return;
        }

        $errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.'   ').PHP_EOL;
        $errorMessage .= '   > '.wordwrap($requirement->getHelpText(), $lineSize - 5, PHP_EOL.'   > ').PHP_EOL;

        return $errorMessage;
    }
protected function getErrorMessage(\Requirement $requirement, $lineSize = 70)
    {
        if ($requirement->isFulfilled()) {
            return;
        }

        $errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.'   ').PHP_EOL;
        $errorMessage .= '   > '.wordwrap($requirement->getHelpText(), $lineSize - 5, PHP_EOL.'   > ').PHP_EOL;

        return $errorMessage;
    }
protected function getErrorMessage ( \ Requirement $ requirement , $ lineSize = 70 ) { if ( $ requirement -> isFulfilled ( ) ) { return ; } $ errorMessage = wordwrap ( $ requirement -> getTestMessage ( ) , $ lineSize - 3 , PHP_EOL . '   ' ) . PHP_EOL ; $ errorMessage .= '   > ' . wordwrap ( $ requirement -> getHelpText ( ) , $ lineSize - 5 , PHP_EOL . '   > ' ) . PHP_EOL ; return $ errorMessage ; }
Formats the error message contained in the given Requirement item
using the optional line length provided.

@param \Requirement $requirement The Symfony requirements
@param int          $lineSize    The maximum line length

@return string The formatted error message
Formats the error message contained in the given Requirement item using the optional line length provided .