sebastianbergmann/phpunit — Issue #472: changes in PHPUnit_Util_Filter::getFilteredStacktrace
Author: psemuu
Created: 2012-01-27 13:28:12+00:00
State: open

A few days ago one of the parameters of this method was removed:
https://github.com/sebastianbergmann/phpunit/commit/2b7f44f56496ccdc705e29497bfcaf142f4a9794#diff-4
I checked in the changelog and found no information about it.

The change caused stacktraces to be printed as arrays, where they were supposed to be strings (when calling the method in printers and other listeners the second parameter was set to false).
It is now necessary to rewrite every call to the method and as it is a utility method it can be used everywhere.

I know it's no big deal, but please consider putting information about such changes in the changelog to prevent the code of PHPUnit's users from breaking.
In my opinion a stable version of PHPUnit with this change was made too soon (no time to adjust the users' code).