Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474338 - dev-php/phpunit-3.5.13 with >=dev-php/PHP_CodeCoverage-1.10 - phpunit: PHP Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39
Summary: dev-php/phpunit-3.5.13 with >=dev-php/PHP_CodeCoverage-1.10 - phpunit: PHP Fa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-22 19:12 UTC by Gabor Garami
Modified: 2013-08-24 18:19 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,4.88 KB, text/plain)
2013-06-22 19:13 UTC, Gabor Garami
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Garami 2013-06-22 19:12:51 UTC
After the fresh emerge of phpunit, phpunit --help ended in this error:

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

Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39

Call Stack:
    0.0002     641032   1. {main}() /usr/bin/phpunit:0

Dump $_SERVER
Dump $_GET
Dump $_POST
Dump $_COOKIE
Dump $_FILES
Dump $_ENV
Dump $_SESSION
Dump $_REQUEST

PHP version:

PHP 5.3.23-pl0-gentoo (cli) (built: Jun 22 2013 19:10:52) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans


PHP USE flags:

[ebuild   R    ] dev-lang/php-5.3.23:5.3  USE="berkdb bzip2 calendar cli crypt ctype exif fileinfo filter fpm ftp gd gdbm hash iconv imap ipv6 json ldap mhash mysql mysqli nls pcntl pdo phar posix postgres readline session simplexml snmp soap spell sqlite ssl threads tidy tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -apache2 -bcmath -cdb -cgi -cjk -curl -curlwrappers -debug -doc -embed -enchant -firebird -flatfile (-frontbase) -gmp -inifile -intl -iodbc -kerberos -ldap-sasl -libedit -mssql -mysqlnd -oci8-instant-client -odbc -qdbm -recode (-selinux) -sharedmem -sockets -sqlite2 (-sybase-ct) -sysvipc -wddx" 0 kB

emerge --info attached.
Comment 1 Gabor Garami 2013-06-22 19:13:40 UTC
Created attachment 351664 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-23 13:54:39 UTC
# phpunit --help
PHP Fatal error:  Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39

Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-23 13:58:42 UTC
/usr/share/php/docs/PHP_CodeCoverage/ChangeLog.markdown:* Removed the `PHP_CodeCoverage::getInstance()` and `PHP_CodeCoverage_Filter::getInstance()` methods.

...
Comment 4 Gabor Garami 2013-07-03 00:41:02 UTC
(In reply to Jeroen Roovers from comment #3)
> /usr/share/php/docs/PHP_CodeCoverage/ChangeLog.markdown:* Removed the
> `PHP_CodeCoverage::getInstance()` and
> `PHP_CodeCoverage_Filter::getInstance()` methods.
> 
> ...

Jeroen, I have dev-php/PHP_CodeCoverage-1.1.2. I guess you simply missed a dot from the ending of version number in the changed title...
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2013-08-24 18:19:34 UTC
This should now be fixed.