Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.13

Bug #11516 PEAR/RunTests.php uses undefined variable
Submitted: 2007-07-03 21:28 UTC
From: cweiske Assigned: dufuz
Status: Closed Package: PEAR (version 1.6.1)
PHP Version: Irrelevant OS:
Roadmaps: 1.6.2    

 [2007-07-03 21:28 UTC] cweiske (Christian Weiske)
Description: ------------ On line 216, run() tries to access an undefined variable. This is a typo since 'test_count' is defined, but 'tests_count' not. Test script: --------------- if (1 < $len = strlen($this->tests_count)) {


 [2007-07-10 20:28 UTC] ashnazg (Chuck Burgess)
I'm seeing this warning also. Patch corrects the var name in the initialization line, to match the only usage of the variable in the whole class (line 216 & 218).
 [2007-08-10 21:22 UTC] dufuz (Helgi ├×ormar)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.