[pkg-php-pear] Bug#736147: Bug#736147: phpunit: Needs to be updated to support new php-codecoverage
Thomas Goirand
thomas at goirand.fr
Mon Jan 20 12:14:12 UTC 2014
On Mon Jan 20 2014 05:53:33 PM HKT, Roland Mas <lolando at debian.org> wrote:
> 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
>
> Roland.
Without looking (since you aren't even telling what
package we are talking about), and because I've
seen this many times, I'd say it is a pb in your
package which needs to be adapted to newer versions
of PHPUnit.
Thomas (from my phone)
More information about the pkg-php-pear
mailing list