On a totally up-to-date Ubuntu 11.04 system, sudo apt-get install
phpunit still installs a completely useless phpunit package - as
reported about a year ago above.  How does this sort of package pass
even the most cursory of QA checks?  This precedent is a bit disturbing.
I imagine I just don't know the story/context.  At any rate:

phpunit --verbose 
PHP Warning:  require_once(PHP/CodeCoverage/Filter.php): failed to open stream: 
No such file or directory in /usr/bin/phpunit on line 38
PHP Fatal error:  require_once(): Failed opening required 
'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php:/usr/share/pear') 
in /usr/bin/phpunit on line 38

    Even following the work-around, there's a non-fatal configuration
problem.  I'm not sure when/if this will cause any hard-to-diagnose
side-effects:

phpunit --verbose . 
PHP Notice:  Please no longer include "PHPUnit/Framework.php". in 
/usr/share/php/PHPUnit/Framework.php on line 50
PHPUnit 3.5.5 by Sebastian Bergmann.

    It looks as if PHP is going to require using PEAR more than apt-get.
Hmm.  This sounds like a slippery slope.

    By the way, I followed the amalgamated work-around contributed
above.  A *huge* thanks to to posters above:

sudo apt-get remove phpunit
sudo pear upgrade pear
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 apt-get install phpunit

Cheers

-- 
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