Ubuntu下PHPUnit安装

sudo apt-get remove phpunit

sudo pear channel-discover pear.phpunit.de

sudo pear channel-discover pear.symfony-project.com

sudo pear channel-discover components.ez.no

sudo pear update-channels

sudo pear upgrade-all

sudo pear install --alldeps phpunit/PHPUnit

sudo pear install --force --alldeps phpunit/PHPUnit

地址链接:http://stackoverflow.com/questions/9186000/call-to-undefined-method-php-codecoverage-filtergetinstance

你可能感兴趣的:(ubuntu)