skip diag. which are only for phar mode
parent
cd21505c8d
commit
3a750193fd
|
@ -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));
|
||||||
|
|
||||||
|
if ('phar:' === substr(__FILE__, 0, 5)) {
|
||||||
$io->write('Checking pubkeys: ', false);
|
$io->write('Checking pubkeys: ', false);
|
||||||
$this->outputResult($this->checkPubKeys($config));
|
$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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue