https://bugzilla.novell.com/show_bug.cgi?id=734936 https://bugzilla.novell.com/show_bug.cgi?id=734936#c0 Summary: PHPUnit incompatible with installed phpunit-PHP_CodeCoverage Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: robert.munteanu@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 When trying to run phpunit -v I get an error message PHP Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39 PHP Stack trace: PHP 1. {main}() /usr/bin/phpunit:0 Indeed, it seems that this very function was removed in the last version of the CodeCoverage package : * Tue Sep 13 2011 lang@b1-systems.de - version 1.1.0RC4 - Added support for merging serialized-to-disk `PHP_CodeCoverage` objects using `phpcov --merge`. - Added support for traits. - Added an option to disable the caching of `PHP_Token_Stream` objects to reduce the memory usage. - Refactored the collection and processing of code coverage data improving code readability and performance. - Refactored the generation of Clover XML and HTML reports improving code readability and testability. - Removed the support for multiple blacklist groups. - Removed the `PHP_CodeCoverage::getInstance()` and `PHP_CodeCoverage_Filter::getInstance()` methods. - Replaced [RGraph](http://www.rgraph.net/) with [Highcharts JS](http://www.highcharts.com/) as the JavaScript chart library used for the HTML report's code coverage dashboard. Commenting out the initial getInstance() calls in the phpunit script yields the same error, at a different location PHP Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/share/php5/PEAR/PHPUnit/Autoload.php on line 64 PHP Stack trace: PHP 1. {main}() /usr/bin/phpunit:0 PHP 2. require_once() /usr/bin/phpunit:45 Reproducible: Always Steps to Reproduce: 1. Run phpunit -v Package information: php5-pear-phpunit-3.5.15-3.1.noarch php5-pear-phpunit-PHP_CodeCoverage-1.1.0RC4-1.1.noarch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.