sebastianbergmann/phpunit — Issue #471: bug in PHPUnit_Framework_Error
Author: psemuu
Created: 2012-01-27 13:11:09+00:00
State: open

In the constructor of PHPUnit_Framework_Error the trace property is set. I think it is done as means to override the trace that is generated when the exception is thrown (correct me if I'm wrong). But taking into account that the trace property in the Exception class is private, it doesn't work. This creates problems in the PHPUnit_Selenium extension in version 1.2.1.
I mentioned it here:
https://github.com/sebastianbergmann/phpunit-selenium/issues/84#issuecomment-3685605
#470
References:
http://php.net/manual/en/language.exceptions.extending.php