Re: HTTP_Request2 on pyrus - PEAR_Exception
| From: | David Coallier | Date: | Sun, 28 Mar 2010 18:23:10 +0000 |
| Subject: | Re: HTTP_Request2 on pyrus - PEAR_Exception | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53383@lists.php.net to get a copy of this message | ||
I agree with that and will get on it tmrw
David Coallier
CTO echolibre
64 Dame Street, Dublin 2, Ireland
skype: davidcoallier
@davidcoallier
On 28 Mar 2010, at 17:44, Brett Bieber <brett.bieber@gmail.com> wrote:
On Sun, Mar 28, 2010 at 11:15 AM, Christian Weiske <cweiske@cweiske.de> wrote:Today I tried to install HTTP_Request2 with pyrus, which worked fine. After using it, I got the error that PEAR_Exception could not be found and not loaded. PEAR_Exception is part of PEAR itself (installer v1). So what do we do now? Should HTTP_Request2 set a dep on PEAR, or should we move PEAR_Exception to an own package? I fear that more packages depend on PEAR_Exception implicitely.Well, the missing required dependency should be fixed immediately. But, for the future: +1 on moving PEAR_Exception to its own package. and also, I think PEAR packages could start following the pear2 exception policy [1], albeit adapted without namespaces. So: <?php interface HTTP_Request2_Exception{} class HTTP_Request2_UnexpectedValueException extends UnexpectedValueException implements HTTP_Request2_Exception {} throw new HTTP_Request2_UnexpectedValueException(); ?> Any thoughts on that? [1] http://wiki.php.net/pear/rfc/pear2_exception_policy --Brett Bieber --PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php