svn: /pear2/Pyrus/trunk/src/Pyrus/Channel/ RemotePackage.php

From: Date: Thu, 17 Jun 2010 15:54:53 +0000
Subject: svn: /pear2/Pyrus/trunk/src/Pyrus/Channel/ RemotePackage.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9504@lists.php.net to get a copy of this message
gauthierm Thu, 17 Jun 2010 15:54:53 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300528 Log: Fix minimum PHP version checks. If you had exactly the minimum version it was failing. Changed paths: U pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackage.php Modified: pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackage.php =================================================================== --- pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackage.php 2010-06-17 15:41:42 UTC (rev 300527) +++ pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackage.php 2010-06-17 15:54:53 UTC (rev 300528) @@ -313,7 +313,7 @@ foreach ($this->releaseList as $versioninfo) { if (isset($versioninfo['m'])) { // minimum PHP version required - if (version_compare($versioninfo['m'], $this->getPHPVersion(), '>=')) { + if (version_compare($versioninfo['m'], $this->getPHPVersion(), '>')) { continue; } } @@ -655,7 +655,7 @@ foreach ($this->releaseList as $versioninfo) { if (isset($versioninfo['m'])) { // minimum PHP version required - if (version_compare($versioninfo['m'], $this->getPHPVersion(), '>=')) { + if (version_compare($versioninfo['m'], $this->getPHPVersion(), '>')) { continue; } } @@ -716,7 +716,7 @@ if (!isset(\PEAR2\Pyrus\Main::$options['force']) && isset($versioninfo['m'])) { // minimum PHP version required - if (version_compare($versioninfo['m'], $this->getPHPVersion(), '>=')) { + if (version_compare($versioninfo['m'], $this->getPHPVersion(), '>')) { $failIfExplicit($versioninfo); continue; } @@ -833,4 +833,4 @@ $this->channel . '/' . $this->name . ' that can satisfy all dependencies'); } -} \ No newline at end of file +}

« previous php.pear.core (#9504) next »