[pkg-php-pear] Bug#777380: phpunit --coverage* always fails
David Prévot
taffit at debian.org
Sat Feb 7 19:55:06 UTC 2015
Package: phpunit
Version: 4.2.6-2
Severity: normal
Hi,
Calling phpunit with any of the --coverage-* option (or having coverage
set up in a phpunit.xml file) makes it fail with a message like:
PHP Fatal error: Class 'PHP_Token_OPEN_TAG' not found in /usr/share/php/PHP/Token/Stream.php on line 218
It would be nice to workaround that until a proper Composer handling of
class loading is available.
Simply requiring PHP/Token/Stream/Autoload.php does the trick. Feel free
to reassign to php-codecoverage or php-token-stream in order to push
this workaround in the most proper place.
Regards
David
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 'buildd-unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.18.0-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages phpunit depends on:
ii php-codecoverage 2.0.11+dfsg-3
ii php-file-iterator 1.3.4-1
ii php-symfony-yaml 2.6.3+dfsg-1~1.gbp213344
ii php-text-template 1.2.0-1
ii php-timer 1.0.5-1
ii php5-cli 5.6.5+dfsg-1
ii php5-common 5.6.5+dfsg-1
ii php5-json 1.3.6-1
ii phpunit-comparator 1.0.0-1
ii phpunit-diff 1.1.0-1
ii phpunit-environment 1.2.0-1
ii phpunit-exporter 1.0.0-1
ii phpunit-mock-object 2.2.1-2
ii phpunit-version 1.0.3-1
phpunit recommends no packages.
Versions of packages phpunit suggests:
pn php-phpunit-php-invoker <none>
ii php-token-stream 1.3.0-1
ii phpunit-dbunit 1.3.1-2
pn phpunit-selenium <none>
pn phpunit-story <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20150207/886278aa/attachment.sig>
More information about the pkg-php-pear
mailing list