From: Martin Jansen Date: Fri, 18 Jun 2004 14:41:01 +0000 (+0000) Subject: * Replaced the nonexistent word "postfix" with "suffix". X-Git-Tag: php-5.0.0~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6910e6432a8f2f5b05d3b18d559940cbe8e47146;p=php * Replaced the nonexistent word "postfix" with "suffix". --- diff --git a/pear/PEAR/Downloader.php b/pear/PEAR/Downloader.php index 2bc87f3867..17ad4566a1 100644 --- a/pear/PEAR/Downloader.php +++ b/pear/PEAR/Downloader.php @@ -456,9 +456,9 @@ class PEAR_Downloader extends PEAR_Common if ($version == 0) { return $this->raiseError("No release with state '$state' found for '$pkgfile'"); } - // invalid postfix passed + // invalid suffix passed } else { - return $this->raiseError("Invalid postfix '-$version', be sure to pass a valid PEAR ". + return $this->raiseError("Invalid suffix '-$version', be sure to pass a valid PEAR ". "version number or release state"); } // Guess what to download diff --git a/pear/tests/pear_downloader_invalid.phpt b/pear/tests/pear_downloader_invalid.phpt index fb14a69db3..7c10dcd80b 100644 --- a/pear/tests/pear_downloader_invalid.phpt +++ b/pear/tests/pear_downloader_invalid.phpt @@ -299,7 +299,7 @@ array(0) { array(0) { } Test download of invalid release state: -Caught error: Invalid postfix '-burgerking', be sure to pass a valid PEAR version number or release state +Caught error: Invalid suffix '-burgerking', be sure to pass a valid PEAR version number or release state string(10) "pear_error" array(0) { }