cvs: pear-core / package-PEAR.xml package2.xml /PEAR Common.php /PEAR/PackageFile v1.php /PEAR/PackageFile/v2 Validator.php
| From: | Greg Beaver | Date: | Wed, 26 Oct 2005 19:16:39 +0000 |
| Subject: | cvs: pear-core / package-PEAR.xml package2.xml /PEAR Common.php /PEAR/PackageFile v1.php /PEAR/PackageFile/v2 Validator.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-35880@lists.php.net to get a copy of this message | ||
cellog Wed Oct 26 15:16:39 2005 EDT
Modified files:
/pear-core/PEAR Common.php
/pear-core/PEAR/PackageFile v1.php
/pear-core/PEAR/PackageFile/v2 Validator.php
/pear-core package-PEAR.xml package2.xml
Log:
* fix Bug #5725: PHP5 warnings need improvement
http://cvs.php.net/diff.php/pear-core/PEAR/Common.php?r1=1.148&r2=1.149&ty=u
Index: pear-core/PEAR/Common.php
diff -u pear-core/PEAR/Common.php:1.148 pear-core/PEAR/Common.php:1.149
--- pear-core/PEAR/Common.php:1.148 Wed Oct 19 00:11:21 2005
+++ pear-core/PEAR/Common.php Wed Oct 26 15:16:36 2005
@@ -17,7 +17,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Common.php,v 1.148 2005/10/19 04:11:21 cellog Exp $
+ * @version CVS: $Id: Common.php,v 1.149 2005/10/26 19:16:36 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1.0
* @deprecated File deprecated since Release 1.4.0a1
@@ -763,7 +763,7 @@
if (version_compare(zend_version(), '2.0', '<')) {
if (in_array(strtolower($data),
array('public', 'private', 'protected',
'abstract',
- 'interface', 'implements', 'clone',
'throw')
+ 'interface', 'implements', 'throw')
)) {
PEAR::raiseError('Error: PHP5 packages must be packaged by php 5
PEAR');
return false;
http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/v1.php?r1=1.65&r2=1.66&ty=u
Index: pear-core/PEAR/PackageFile/v1.php
diff -u pear-core/PEAR/PackageFile/v1.php:1.65 pear-core/PEAR/PackageFile/v1.php:1.66
--- pear-core/PEAR/PackageFile/v1.php:1.65 Wed Oct 19 00:11:27 2005
+++ pear-core/PEAR/PackageFile/v1.php Wed Oct 26 15:16:38 2005
@@ -15,7 +15,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: v1.php,v 1.65 2005/10/19 04:11:27 cellog Exp $
+ * @version CVS: $Id: v1.php,v 1.66 2005/10/26 19:16:38 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.0a1
*/
@@ -1453,7 +1453,7 @@
if (version_compare(zend_version(), '2.0', '<')) {
if (in_array(strtolower($data),
array('public', 'private', 'protected',
'abstract',
- 'interface', 'implements', 'clone',
'throw')
+ 'interface', 'implements', 'throw')
)) {
$this->_validateWarning(PEAR_PACKAGEFILE_ERROR_PHP5);
}
http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/v2/Validator.php?r1=1.80&r2=1.81&ty=u
Index: pear-core/PEAR/PackageFile/v2/Validator.php
diff -u pear-core/PEAR/PackageFile/v2/Validator.php:1.80
pear-core/PEAR/PackageFile/v2/Validator.php:1.81
--- pear-core/PEAR/PackageFile/v2/Validator.php:1.80 Wed Oct 19 00:11:27 2005
+++ pear-core/PEAR/PackageFile/v2/Validator.php Wed Oct 26 15:16:38 2005
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Validator.php,v 1.80 2005/10/19 04:11:27 cellog Exp $
+// $Id: Validator.php,v 1.81 2005/10/26 19:16:38 cellog Exp $
/**
* Private validation class used by PEAR_PackageFile_v2 - do not use directly, its
* sole purpose is to split up the PEAR/PackageFile/v2.php file to make it smaller
@@ -1831,7 +1831,7 @@
if (version_compare(zend_version(), '2.0', '<')) {
if (in_array(strtolower($data),
array('public', 'private', 'protected',
'abstract',
- 'interface', 'implements', 'clone',
'throw')
+ 'interface', 'implements', 'throw')
)) {
$this->_stack->push(__FUNCTION__, 'warning', array(),
'Error, PHP5 token encountered, analysis should be in
PHP5');
http://cvs.php.net/diff.php/pear-core/package-PEAR.xml?r1=1.293&r2=1.294&ty=u
Index: pear-core/package-PEAR.xml
diff -u pear-core/package-PEAR.xml:1.293 pear-core/package-PEAR.xml:1.294
--- pear-core/package-PEAR.xml:1.293 Wed Oct 26 15:14:18 2005
+++ pear-core/package-PEAR.xml Wed Oct 26 15:16:39 2005
@@ -87,6 +87,7 @@
* fix Bug #5736: if registry can't lock registry or open filemap,
checkFileMap(), no error
* fix Bug #5676: pear config-create broken
+ * fix Bug #5725: PHP5 warnings need improvement
* fix Bug #5789: small typo
</notes>
<provides type="class" name="OS_Guess"/>
http://cvs.php.net/diff.php/pear-core/package2.xml?r1=1.185&r2=1.186&ty=u
Index: pear-core/package2.xml
diff -u pear-core/package2.xml:1.185 pear-core/package2.xml:1.186
--- pear-core/package2.xml:1.185 Wed Oct 26 15:14:18 2005
+++ pear-core/package2.xml Wed Oct 26 15:16:39 2005
@@ -92,6 +92,7 @@
* fix Bug #5736: if registry can't lock registry or open filemap,
checkFileMap(), no error
* fix Bug #5676: pear config-create broken
+ * fix Bug #5725: PHP5 warnings need improvement
* fix Bug #5789: small typo
</notes>
<contents>