2 class Issue578Test extends PHPUnit_Framework_TestCase
4 public function testNoticesDoublePrintStackTrace()
6 $this->iniSet('error_reporting', E_ALL | E_NOTICE);
7 trigger_error('Stack Trace Test Notice', E_NOTICE);
10 public function testWarningsDoublePrintStackTrace()
12 $this->iniSet('error_reporting', E_ALL | E_NOTICE);
13 trigger_error('Stack Trace Test Notice', E_WARNING);
16 public function testUnexpectedExceptionsPrintsCorrectly()
18 throw new Exception('Double printed exception');