Issues while installing pear.phpunit.de/PHPUnit

↘锁芯ラ 提交于 2019-11-30 18:26:46

Most people just composer nowadays. But since you seem to be on Ubuntu you can always do:

sudo apt-get install phpunit
MauricioOtta

Download the phar archive worked for me:

https://github.com/Mayflower/PHP_CodeBrowser

wget https://github.com/mayflower/PHP_CodeBrowser/releases/download/1.1.1/phpcb-1.1.1.phar
mv phpcb-1.1.1.phar /usr/local/bin/phpcb
chmod a+x /usr/local/bin/phpcb

phpcb --version
PHP_CodeBrowser version 1.1.1

For those on RHEL distros (CentOS/Fedora/ etc) and not yet using composer, you can install phpunit using YUM:

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