How do I update phpunit?

▼魔方 西西 提交于 2019-12-05 11:00:25

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

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

I updated my Ubuntu to 12.10, which gives me PHP 5.4.x, and then the newer version of PHPUnit as well. I believe you need the 5.4.x of PHP to use the latest PHPUnit. Try updating PHP to be 5.4.x and then try the PHPUnit update again.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!