Hi, On Sat, Feb 07, 2015 at 03:55:06PM -0400, David Prévot wrote: > Package: phpunit
> 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 Once this one workaround (while repackaging phpunit-dbunit based on Composer instead of the dead PEAR channel), I also stumbled on a similar error (while repackaging phpunit-version based on Composer for the same reason): PHP Fatal error: Class 'Text_Template' not found in /usr/share/php/PHP/CodeCoverage/Report/HTML/Renderer/Directory.php on line 65 > Simply requiring PHP/Token/Stream/Autoload.php does the trick. Ditto with Text/Template/Autoload.php. > Feel free > to reassign to php-codecoverage or php-token-stream in order to push > this workaround in the most proper place. (I’m happy to fix it myself or at least propose a patch in the package where it’s needed, php-codecoverage sounds like a better place the more I think about it). Regards David
signature.asc
Description: Digital signature

