I\'ve got a fresh copy of PHPUnit installed on my system (Ubuntu 11), but whenever I type phpunit
in the console I get the following error:
PHP Fa
The method getInstance()
seems to have been dropped from the class.
https://github.com/sebastianbergmann/php-code-coverage/blob/master/PHP/CodeCoverage/Filter.php#L78
Use the constructor instead if you come across this error. However, this is not applicable to the opening post as the command came from PHPUnit itself.