Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 439226

Summary: dev-php/phpunit-3.5* should RDEPEND on <dev-php/PHP_CodeCoverage-1.1
Product: Gentoo Linux Reporter: Chris Bandy <bandy.chris>
Component: [OLD] LibraryAssignee: PHP Bugs <php-bugs>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: phpunit-3.5.15.ebuild

Description Chris Bandy 2012-10-22 07:06:44 UTC
As reported upstream[1], PHPUnit-3.5 depends on PHP_CodeCoverage-1.0.

Unfortunately, PHP_CodeCoverage-1.0* has been removed from the tree. I've attached ebuilds for PHPUnit-3.5.15 and PHP_CodeCoverage-1.0.5. The latter depends on PHP_TokenStream-1.0* as I have discovered and has been reported elsewhere[2].

Related to bug 417991.


Reproducible: Always

Steps to Reproduce:
1. Run PHPUnit with --coverage-html
Actual Results:  
PHP Fatal error:  Class 'PHP_Token_Stream' not found in /usr/share/php/PHP/Token/Stream/CachingFactory.php on line 68
Comment 1 Chris Bandy 2012-10-22 07:08:41 UTC
Created attachment 327124 [details]
Comment 2 Chris Bandy 2012-10-22 07:09:12 UTC
Created attachment 327126 [details]
Comment 3 Ole Markus With (RETIRED) gentoo-dev 2013-03-28 10:38:25 UTC
Future versions of phpunit will be distributed using the phar file so that we
do not have to deal with this dependency nonsense anymore.

Find bump of phpunit in CVS.