cvs: pear-core /PEAR RunTest.php

From: Date: Tue, 13 May 2008 21:09:58 +0000
Subject: cvs: pear-core /PEAR RunTest.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-7549@lists.php.net to get a copy of this message
cellog Tue May 13 21:09:58 2008 UTC Modified files: /pear-core/PEAR RunTest.php Log: kill E_STRICT/E_DEPRECATED, otherwise everything fails http://cvs.php.net/viewvc.cgi/pear-core/PEAR/RunTest.php?r1=1.65&r2=1.66&diff_format=u Index: pear-core/PEAR/RunTest.php diff -u pear-core/PEAR/RunTest.php:1.65 pear-core/PEAR/RunTest.php:1.66 --- pear-core/PEAR/RunTest.php:1.65 Fri Jan 18 22:55:09 2008 +++ pear-core/PEAR/RunTest.php Tue May 13 21:09:58 2008 @@ -16,7 +16,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2008 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: RunTest.php,v 1.65 2008/01/18 22:55:09 cellog Exp $ + * @version CVS: $Id: RunTest.php,v 1.66 2008/05/13 21:09:58 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.3.3 */ @@ -92,7 +92,13 @@ */ function PEAR_RunTest($logger = null, $options = array()) { - $this->ini_overwrites[] = 'error_reporting=' . E_ALL; + if (!defined('E_DEPRECATED')) { + define('E_DEPRECATED', 0); + } + if (!defined('E_STRICT')) { + define('E_STRICT', 0); + } + $this->ini_overwrites[] = 'error_reporting=' . E_ALL & ~E_DEPRECATED & ~E_STRICT; if (is_null($logger)) { require_once 'PEAR/Common.php'; $logger = new PEAR_Common;

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