Call to undefined method PHP_CodeCoverage_Filter::getInstance()

前端 未结 7 2363
后悔当初
后悔当初 2020-12-04 14:13

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

7条回答
  •  旧巷少年郎
    2020-12-04 14:45

    it works for me. at the beginning, I didn't use --force for the last command, I got a fatal error that "Call to undefined method PHP_CodeCoverage_Filter::getInstance". Then I used --force, which resolved this issue.

提交回复
热议问题