private function doUpdate(OutputInterface $output)
{
$result = $this->updater->update();
if (!$result) {
$output->writeln('No update required, PHPBench is already at the latest version.');
return 0;
}
$output->writeln(sprintf('PHPBench was updated from "%s" to "%s"', $this->updater->getOldVersion(), $this->updater->getNewVersion()));
}