PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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"/>