Re: svn: /pear2/Pyrus/trunk/src/Pyrus/Package/Dependency/Set/ PackageTree.php
| From: | Brett Bieber | Date: | Sat, 05 Dec 2009 16:41:07 +0000 |
| Subject: | Re: svn: /pear2/Pyrus/trunk/src/Pyrus/Package/Dependency/Set/ PackageTree.php | ||
| References: | 1 | Groups: | php.pear.cvs php.pear.core |
| Request: | Send a blank email to pear-core+get-9084@lists.php.net to get a copy of this message | ||
Hi Greg,
On Sat, Dec 5, 2009 at 10:28 AM, Brett Bieber <saltybeagle@php.net> wrote:
> saltybeagle Sat, 05 Dec 2009 16:28:17 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=291743
>
> Log:
> Only call resetConcreteVersion if the package is remote. Throw a dependency exception if there
> are no versions available. Some readability fixes.
>
> Changed paths:
> U pear2/Pyrus/trunk/src/Pyrus/Package/Dependency/Set/PackageTree.php
<snip>
> + if (!count($this->versionsAvailable)) {
> + $this->throwDepFailException();
> + }
If you get a second could you look into this issue? This quick fix
works, but I know there's a better place to throw this type of
exception.
--
Brett Bieber