private function outputMagerunCompatibilityNotice($version)
{
$file = $version === '2' ? $version : '';
$magentoHint = <<<MAGENTOHINT
You are running a Magento {$version}.x instance. This version of n98-magerun is not compatible
with Magento {$version}.x. Please use n98-magerun{$version} (version {$version}) for this shop.
A current version of the software can be downloaded on github.
<info>Download with curl
------------------</info>
<comment>curl -O https://files.magerun.net/n98-magerun{$file}.phar</comment>
<info>Download with wget
------------------</info>
<comment>wget https://files.magerun.net/n98-magerun{$file}.phar</comment>
MAGENTOHINT;
$output = new ConsoleOutput();
/** @var $formatter FormatterHelper */
$formatter = $this->getHelperSet()->get('formatter');
$output->writeln(array('', $formatter->formatBlock('Compatibility Notice', 'bg=blue;fg=white', true), '', $magentoHint));
throw new RuntimeException('This version of n98-magerun is not compatible with Magento ' . $version);
}