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

Bug #11518 PEAR_RunTest::run() needs 3rd parameter optional
Submitted: 2007-07-04 04:43 UTC
From: cweiske Assigned: dufuz
Status: Closed Package: PEAR (version 1.6.1)
PHP Version: Irrelevant OS:
Roadmaps: 1.6.2    
Subscription  


 [2007-07-04 04:43 UTC] cweiske (Christian Weiske)
Description: ------------ PEAR_RunTest::run()'s 3rd parameter has been added later on but not taken care about the possibility that it was possible to use the method with just one parameter. Since the number can have a default value without any influence on the results, I suggest a default value is provided. Also, please look at the top of the code in the class docblock. The usage with one parameter is described there.

Comments

 [2007-07-10 20:31 UTC] ashnazg (Chuck Burgess)
Seeing this issue myself... patch makes 3rd param optional, defaults to '1'.
 [2007-08-10 21:27 UTC] dufuz (Helgi Þormar)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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.