getOutput() ?: ''; $errorOutput = $process->getErrorOutput() ?: ''; $exitCodeText = $process->getExitCodeText() ?: ''; return <<getExitCode()}: {$exitCodeText} Output ====== {$output} Error Output ============ {$errorOutput} CONSOLE; } }