Re: [PEAR-QA] Re: PEAR_Exception in HTTP_Request2

[email protected] ("Daniel O'Connor") Thu, 10 Nov 2011 12:47:46 +1030
Newsgroups php.pear.qa
Message-ID <CAJsZyFCL3XhV=d1Gynou83gAJzfPCE6FZmBVCMN4i3YBW+8Yfg@mail.gmail.com>
On Thu, Nov 10, 2011 at 5:07 AM, Christian Weiske <[email protected]>wrote:

> Hello Alexey,
>
>
> > >> Quoting from http://pear.php.net/manual/en/standards.errors.php
> > >>
> > >>> All of PEAR packages exceptions must be descendant from
> > >>> PEAR_Exception.
> > >
> > > I would declare the required dependency on PEAR properly within the
> > > package.xml so people that install it using pyrus or some other
> > > method get all the necessary files
> >
> > OK, I'll do this.
> >
> > It was a bad idea in the first place to keep PEAR_Exception in PEAR
> > package.
>
> What if we just move pear_exception to an own package?


+1

Of course; to avoid having it declared twice we *should* make it depend on
having PEAR 1.9.5 installed.