I have been tring to get PHPunit working for my zend framework project and have been encountering various problems. I have reinstalled PEAR and uninstalled PHPunit, and rein
It picks up the right phpunit but the other packages are missing. You should be able to fix this using
sudo pear install --alldeps --force phpunit/phpunit
or if you want to only update the lib that seems to be the issue:
sudo pear install --force phpunit/PHPUnit_MockObject
Windows Users: Omit "sudo"if you are on windows platform