sebastianbergmann/phpunit — pull request #493 by pscheit (2012-02-09 09:48:41+00:00)
Title: Refactored PHPUnit_Util_Diff::diff to allow the util to return the result as array

I hope my Indenting and CodeStyle is correct.
I added some dumb tests to it, too.

I think it would be nice to have this array output to create better custom assertions for other libraries. I often like to use the diff for arrays or strings and evaluate the output. This is easier accomplished when the util would return arrays.

best regards
psc