sebastianbergmann/phpunit — pull request #713 by derrabus (2012-11-09 17:51:58+00:00)
Title: callback() function does not pass $callback parameter

If you use the callback() function from PHPUnit/Framework/Functions.php as shortcut for PHPUnit_Framework_Assert::callback(), the test will fail with an error:

PHPUnit_Framework_Error_Warning : Missing argument 1 for PHPUnit_Framework_Assert::callback(), called in /path/to/phpunit/PHPUnit/Framework/Assert/Functions.php on line 1706

The problem is that this function simply does not pass the parameter. This pull request fixes this issue.