I'd like to have PHPUnit fail when it encounters any PHP error, warning, or exception.
I'm seeing examples of the inverse, where
/**
* @expectedException PHPUnit_Framework_Error_Warning
*/
is used when an error is expected. But instead, I'd like to exercise various code paths and guarantee that no errors, warnings, or exceptions were thrown.