cvs: pear-core /PEAR Validate.php

From: Date: Mon, 17 Jul 2006 17:37:56 +0000
Subject: cvs: pear-core /PEAR Validate.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-4869@lists.php.net to get a copy of this message
pajoye Mon Jul 17 17:37:56 2006 UTC Modified files: /pear-core/PEAR Validate.php Log: - MFB: be less strict with invalid date, a warning is enough http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Validate.php?r1=1.47&r2=1.48&diff_format=u Index: pear-core/PEAR/Validate.php diff -u pear-core/PEAR/Validate.php:1.47 pear-core/PEAR/Validate.php:1.48 --- pear-core/PEAR/Validate.php:1.47 Thu Jun 8 01:22:30 2006 +++ pear-core/PEAR/Validate.php Mon Jul 17 17:37:56 2006 @@ -15,7 +15,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Validate.php,v 1.47 2006/06/08 01:22:30 pajoye Exp $ + * @version CVS: $Id: Validate.php,v 1.48 2006/07/17 17:37:56 pajoye Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a1 */ @@ -451,7 +451,7 @@ count($res) < 4 || !checkdate($res[2], $res[3], $res[1]) ) { - $this->_addFailure('date', 'invalid release date "' . + $this->_addWarning('date', 'invalid release date "' . $this->_packagexml->getDate() . '"'); return false; }

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