如何更新phpunit? [英] How do I update phpunit?

查看:108
本文介绍了如何更新phpunit?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了所有内容,包括 https://stackoverflow.com/a/8740349/251311 以及所有可能的频道升级和清除缓存命令.但仍然:

I have already tried everything, including https://stackoverflow.com/a/8740349/251311 and all possible channel upgrade and clear cache commands. But still:

$ sudo pear install -a -f phpunit/PHPUnit
downloading PHPUnit-3.6.12.tgz ...
Starting to download PHPUnit-3.6.12.tgz (120,240 bytes)
..........................done: 120,240 bytes
install ok: channel://pear.phpunit.de/PHPUnit-3.6.12

同时:

$ pear list-upgrades
Channel pear.php.net: No upgrades available
pear.phpunit.de Available Upgrades (stable):
============================================
Channel         Package            Local           Remote          Size
pear.phpunit.de PHPUnit            3.6.12 (stable) 3.7.10 (stable) 115kB
pear.phpunit.de PHPUnit_MockObject 1.1.1 (stable)  1.2.2 (stable)  19.9kB
pear.phpunit.de PHPUnit_Selenium   1.2.8 (stable)  1.2.11 (stable) 38kB
pear.phpunit.de PHP_CodeCoverage   1.1.4 (stable)  1.2.7 (stable)  155kB
pear.phpunit.de PHP_TokenStream    1.1.4 (stable)  1.1.5 (stable)  9.7kB
pear.phpunit.de Text_Template      1.1.3 (stable)  1.1.4 (stable)  3.6kB

奖励

对于暗示将导致PEAR无法将phpunit升级到最新版本(使用PEAR)的人,将获得100分的奖励.

Award

There will be 100 points bounty for a person who will hint what can cause PEAR not be able to upgrade phpunit to the latest possible (using PEAR).

推荐答案

好吧,我使用ubuntu lts 10.04,并且它具有php 5.3.2版本.

Well, I use ubuntu lts 10.04, and it has php 5.3.2 version.

虽然phpunit 3.7依赖于php> = 5.3.3(尽管未在任何地方明确显示)

While phpunit 3.7 depends on php >= 5.3.3 (though it's not shown explicitly anywhere)

这篇关于如何更新phpunit?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆