1
0
Fork 0

Merge pull request #4843 from remicollet/issue-diagphar

skip diag. which are only for phar mode
pull/4964/head
Jordi Boggiano 2016-02-25 17:27:53 +00:00
commit cd3c3ac56d
1 changed files with 6 additions and 4 deletions

View File

@ -134,11 +134,13 @@ EOT
$io->write('Checking disk free space: ', false); $io->write('Checking disk free space: ', false);
$this->outputResult($this->checkDiskSpace($config)); $this->outputResult($this->checkDiskSpace($config));
$io->write('Checking pubkeys: ', false); if ('phar:' === substr(__FILE__, 0, 5)) {
$this->outputResult($this->checkPubKeys($config)); $io->write('Checking pubkeys: ', false);
$this->outputResult($this->checkPubKeys($config));
$io->write('Checking composer version: ', false); $io->write('Checking composer version: ', false);
$this->outputResult($this->checkVersion()); $this->outputResult($this->checkVersion());
}
return $this->failures; return $this->failures;
} }