On Ubuntu 12.04, experienced same issue:

$ sudo apt-get install phpunit
$ phpunit
PHP Warning:  require_once(PHP/CodeCoverage/Filter.php): failed to open stream: 
No such file or directory in /usr/bin/phpunit on line 38
[...]


Workaround from John Faucett worked great, on the condition to update symphony 
url, as follow:

sudo apt-get remove phpunit
sudo apt-get upgrade pear
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover pear.symfony.com
sudo pear channel-discover components.ez.no
sudo pear update-channels
sudo pear upgrade-all
sudo pear install --alldeps phpunit/PHPUnit

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701544

Title:
  phpunit requires PHP_CodeCoverage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpunit/+bug/701544/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to