[pkg-php-pear] Bug#736147: phpunit: Needs to be updated to support new php-codecoverage

Roland Mas lolando at debian.org
Mon Jan 20 09:53:33 UTC 2014

Package: phpunit
Version: 3.6.10-1
Severity: normal

phpunit ships /usr/share/php/PHPUnit/Util/GlobalState.php, which has a
function that calls php_codecoverage_autoload().  This function doesn't
exist in the current version of php-codecoverage; if it's in another
package, then there's at least a dependency missing :-)

In any case, it ends up with my testsuites randomly failing with
messages like the following:

1) CreateProject::testEmptyProject
PHP Fatal error:  Call to undefined function php_codecoverage_autoload() in /usr/share/php/PHPUnit/Util/GlobalState.php on line 380


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages phpunit depends on:
ii  pear-channels [pear-phpunit-channel]  0~20131124-1
ii  php-codecoverage                      1.2.13+dfsg1-1
ii  php-file-iterator                     1.3.1-2
ii  php-pear                              5.5.8+dfsg-2
ii  php-symfony-yaml                      1.0.6-1
ii  php-text-template                     1.1.1-2
ii  php-timer                             1.0.2-2
ii  php5-cli                              5.5.8+dfsg-2
ii  phpunit-mock-object                   1.1.1-2

Versions of packages phpunit recommends:
ii  php-invoker       1.1.0-1
ii  php-token-stream  1.1.3-2
ii  phpunit-story     1.0.0-3

Versions of packages phpunit suggests:
pn  phpunit-dbunit    <none>
ii  phpunit-selenium  1.2.6-3

-- no debconf information

Roland Mas

C   c e    e l    m  re q   j  l   a l  l  iè e  .
  -- Signatures à collectionner, série n°1, partie 3/3.

More information about the pkg-php-pear mailing list