It doesn't appear to do it by default, and I don't see any switch for it either.
This is PHPUnit 2.3.5, and PHP 5.2.0-8.
function exception_error_handler($errno, $errstr, $errfile, $errline )
{
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
set_error_handler("exception_error_handler");
You want to upgrade to a more recent version of PHPUnit, have a look at http://www.phpunit.de/.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With