phpunit
phpunit copied to clipboard
Issue in loading or finding SebastianBergmann\Diff.php
I am trying to run phpunit test cases and I get the exception below.
PHP Fatal error: Uncaught exception 'Exception' with message 'Warning: include(SebastianBergmann\Diff.php): failed to open stream.
I have already installed Diff via pear using
sudo pear install pear.phpunit.de/Diff
And the installation was successful, I am not sure what the issues is.
phpunit --version PHPUnit 4.0.6 by Sebastian Bergmann.
Fixed by https://github.com/sebastianbergmann/php-code-coverage/commit/35589033c8620d1fac89bf62c582f15eb2fa380f