/** * Prints text to STDERR appended with a carriage return (PHP_EOL). * @param string $string the text to print * @return integer|boolean number of bytes printed or false on error. */ public static function error($string = null, $useEol = true) { return parent::error(self::renderColoredString("%r{$string}%n"), $useEol); }