You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
saltybeagle (Brett Bieber)
Hmm, I think in this case the exception is to be expected.
To retrieve information about remote packages, pass $forceremote = true to Package::__construct so it won't look at the local registry before comparing against remote packages.
boekkooi (Warnar Boekkooi)
Okee so what your saying is don't use Package for getting information about a package that's allready installed? but use Registry::package and Registry::exists?
Description:
When creating a new instance of a package that is all ready in the rgistry a exception occures.
Test script:
fromString('pear2.php.net/P...') #1 D:\pear\repo\php\PEAR2\Pyrus\Package.php(55): PEAR2\Pyrus\Package\Remote->__construct('pear2.php.net/P...', Object(PEAR2\Pyrus\Package)) #2 D:\pear\packages\PackageManager\tests\u.php(7): PEAR2\Pyrus\Package->__construct('pear2.php.net/P...') #3 {main} thrown in D:\pear\repo\php\PEAR2\Pyrus\Package\Remote.php on line 282The text was updated successfully, but these errors were encountered: