protected function writeBufferedOutput(BufferedOutput $buffer, $result)
    {
        if ($result === 0 && $buffer->getVerbosity() < OutputInterface::VERBOSITY_VERBOSE) {
            return;
        }

        $this->io->write($buffer->fetch());
    }