通过pear安装phpunit / PHPUnit-3.5.5(用于声纳)

时间:2012-02-01 16:37:46

标签: php maven phpunit pear sonarqube

我正在尝试设置PHP Plugin for Sonar,此插件需要特定版本的特定包。

所以,当我尝试使用以下命令安装PHPUnit 3.5.5时,它正在安装更新的版本。我做错了什么?

[VMWARE] root@localhost ~  
 # pear install phpunit/PHPUnit-3.5.5
Did not download optional dependencies: phpunit/PHP_Invoker, use --alldeps to download automatically
phpunit/PHPUnit can optionally use PHP extension "dbus"
phpunit/PHPUnit can optionally use PHP extension "soap"
phpunit/DbUnit requires package "phpunit/PHPUnit" (version >= 3.6.0), downloaded version is 3.5.5
phpunit/PHPUnit requires package "phpunit/DbUnit" (version >= 1.0.0)
phpunit/PHPUnit can optionally use package "phpunit/PHP_Invoker" (version >= 1.1.0)
downloading PHPUnit_Selenium-1.2.1.tgz ...
Starting to download PHPUnit_Selenium-1.2.1.tgz (23,083 bytes)
.......done: 23,083 bytes
downloading PHPUnit-3.6.10.tgz ...
Starting to download PHPUnit-3.6.10.tgz (118,595 bytes)
...done: 118,595 bytes
install ok: channel://pear.phpunit.de/PHPUnit-3.6.10
install ok: channel://pear.phpunit.de/PHPUnit_Selenium-1.2.1
[VMWARE] root@localhost ~  

1 个答案:

答案 0 :(得分:1)

要从未回答的问题页面中获取此信息,请参阅How to install an older version of PHPUnit through PEAR?以获取问题的准确答案。