svn: /pear/packages/Crypt_GPG/trunk/tests/ TestCase.php

From: Date: Mon, 28 Nov 2011 01:43:59 +0000
Subject: svn: /pear/packages/Crypt_GPG/trunk/tests/ TestCase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-63114@lists.php.net to get a copy of this message
gauthierm Mon, 28 Nov 2011 01:43:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320063 Log: Don't override eror reporting. The error reporting level can be specified on the phpunit command line. Fixes Bug #18992. Bug: http://pear.php.net/bugs/18992 (unknown) Changed paths: U pear/packages/Crypt_GPG/trunk/tests/TestCase.php Modified: pear/packages/Crypt_GPG/trunk/tests/TestCase.php =================================================================== --- pear/packages/Crypt_GPG/trunk/tests/TestCase.php 2011-11-28 01:41:16 UTC (rev 320062) +++ pear/packages/Crypt_GPG/trunk/tests/TestCase.php 2011-11-28 01:43:59 UTC (rev 320063) @@ -92,18 +92,13 @@ protected $gpg; // }}} - // {{{ private properties - - private $_old_error_level; - - // }}} // {{{ getOptions() protected function getOptions() { return array( 'homedir' => dirname(__FILE__) . '/' . self::HOMEDIR, - 'debug' => true +// 'debug' => true ); } @@ -114,8 +109,6 @@ public function setUp() { - $this->_old_error_level = error_reporting(E_ALL | E_STRICT); - // load test configuration file if it exists $configFilename = dirname(__FILE__).'/config.php'; if (file_exists($configFilename)) { @@ -571,8 +564,6 @@ $this->_tearDownKeyring(); $this->_tearDownTempdir(); - - error_reporting($this->_old_error_level); } // }}}

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