Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439226 - dev-php/phpunit-3.5* should RDEPEND on <dev-php/PHP_CodeCoverage-1.1
Summary: dev-php/phpunit-3.5* should RDEPEND on <dev-php/PHP_CodeCoverage-1.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-22 07:06 UTC by Chris Bandy
Modified: 2013-03-28 10:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
phpunit-3.5.15.ebuild (phpunit-3.5.15.ebuild,968 bytes, text/plain)
2012-10-22 07:08 UTC, Chris Bandy
Details
PHP_CodeCoverage-1.0.5.ebuild (PHP_CodeCoverage-1.0.5.ebuild,604 bytes, text/plain)
2012-10-22 07:09 UTC, Chris Bandy
Details

Note You need to log in before you can comment on or make changes to this bug.
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.

[1] https://github.com/sebastianbergmann/phpunit/pull/662
[2] http://dustyreagan.com/downgrade-phpunit-3-6-to-3-5-15/comment-page-1/#comment-2749

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]
phpunit-3.5.15.ebuild
Comment 2 Chris Bandy 2012-10-22 07:09:12 UTC
Created attachment 327126 [details]
PHP_CodeCoverage-1.0.5.ebuild
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.