PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR_PackageFileManager » Bug #733

php dep incorrectly generated

Details

Submitted2004-02-11 10:19 UTC
Fromsmith at backendmedia dot com
Assignedlsmith
StatusClosed
PackagePEAR_PackageFileManager
PHP Version4.3.4
OSWin2k
Roadmaps(Not assigned)

Comments

[2004-02-11 10:19 UTC] smith at backendmedia dot com

Description:
------------
Somehow the php version number I specified is generated incorrectly.

See the package.xml and package.php files from the MDB2 package

Reproduce code:
---------------
$package->addDependency('php', '4.2.0', 'ge', 'pkg', false);

Expected result:
----------------
<dep type="php" rel="ge" version="4.2.0"/>

Actual result:
--------------
<dep type="php" rel="ge" version="4.1.0"/>