我遇到了用pyrus升级我的phpunit的问题,它总是输出如下所示:
Pyrus\Installer\Exception: Dependency validation failed for some packages to install, installation aborted  
Pyrus\Dependency\Exception: pear.phpunit.de/PHPUnit requires    package "channel://pear.phpunit.de/PHP_CodeCoverage" (version >= 1.2.1), installed version is 1.2.0  
Pyrus\Dependency\Exception: pear.phpunit.de/PHPUnit can optionally use package "channel://pear.phpunit.de/PHP_Invoker" (version >= 1.1.0)  我使用-f标志强制将我的phpunit从3.7.0升级到3.7.1,但是其他包仍然没有升级。
我尝试使用命令php pyrus.phar upgrade /PHP_CodeCoverage来升级PHP_CodeCoverage,但是我得到了如下内容:
Skipping installed package pear.phpunit.de/PHP_CodeCoverage  如何将ohter软件包分开升级?
发布于 2012-09-30 16:40:47
尝试--alldeps标志,应该帮助:http://pear.php.net/manual/en/guide.users.commandline.installing.php
https://stackoverflow.com/questions/12632679
复制相似问题