cvs: pear /PHPUnit2/Framework TestResult.php

From: Date: Thu, 26 May 2005 08:47:27 +0000
Subject: cvs: pear /PHPUnit2/Framework TestResult.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32128@lists.php.net to get a copy of this message
sebastian Thu May 26 04:47:27 2005 EDT Modified files: /pear/PHPUnit2/Framework TestResult.php Log: Register error handler only for E_USER_ERROR.Framework/TestResult.php http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestResult.php?r1=1.28&r2=1.29&ty=u Index: pear/PHPUnit2/Framework/TestResult.php diff -u pear/PHPUnit2/Framework/TestResult.php:1.28 pear/PHPUnit2/Framework/TestResult.php:1.29 --- pear/PHPUnit2/Framework/TestResult.php:1.28 Thu May 26 04:45:47 2005 +++ pear/PHPUnit2/Framework/TestResult.php Thu May 26 04:47:26 2005 @@ -15,7 +15,7 @@ * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: TestResult.php,v 1.28 2005/05/26 08:45:47 sebastian Exp $ + * @version CVS: $Id: TestResult.php,v 1.29 2005/05/26 08:47:26 sebastian Exp $ * @link http://pear.php.net/package/PHPUnit2 * @since File available since Release 2.0.0 */ @@ -327,7 +327,7 @@ public function run(PHPUnit2_Framework_Test $test) { $this->startTest($test); - set_error_handler('PHPUnit2_Util_ErrorHandler', E_ERROR & E_USER_ERROR); + set_error_handler('PHPUnit2_Util_ErrorHandler', E_USER_ERROR); $useXdebug = (extension_loaded('xdebug') && $this->collectCodeCoverageInformation);

« previous php.pear.cvs (#32128) next »