PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Testing » PHPUnit2 » Bug #3050

assertNotNull and assertNull reference undefined variable "$expected"

Details

Submitted2004-12-29 13:50 UTC
Fromsylvain dot pasche at gmail dot com
StatusClosed
PackagePHPUnit2
PHP Version5.0.3
Roadmaps(Not assigned)

Comments

[2004-12-29 13:50 UTC] sylvain dot pasche at gmail dot com

Description:
------------
it looks like the "$expected" variable is not declared there.

"Undefined variable: expected" include/pear/PHPUnit2/Framework/Assert.php:193

[2004-12-29 13:55 UTC] sylvain dot pasche at gmail dot com

changed summary