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

Bug #10494 Missing abstract methods in Frontend.php
Submitted: 2007-03-25 15:07 UTC
From: tias Assigned: cellog
Status: Closed Package: PEAR (version 1.5.1)
PHP Version: Irrelevant OS:
Roadmaps: 1.5.2    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 46 + 37 = ?

 
 [2007-03-25 15:07 UTC] tias (Tias Guns)
Description: ------------ Hello, The abstract class 'Frontend.php' is missing some essential abstract methods that are used inside PEAR. Because of the weak typing this gives no errors, but for developers it is confusing: PEAR developers don't know what they may use, and Frontend developers don't know what they should implement. Attached patch adds the abstract methods runPostinstallScripts(), outputData() and userDialog() with documentation. These are the only public methods currently used by PEAR to display data.

Comments

 [2007-03-27 13:57 UTC] cellog (Greg Beaver)
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. I tweaked the doc comments extensively