开发者

phpunit broken after upgrade to v3.5.3

开发者 https://www.devze.com 2023-01-24 09:41 出处:网络
I just upgraded phpunit via the PEAR package installer and this is the error that开发者_运维知识库 i\'m getting:

I just upgraded phpunit via the PEAR package installer and this is the error that开发者_运维知识库 i'm getting:

PHP Fatal error: Call to undefined method PHPUnit_Util_Filter::addFileToFilter() in /usr/bin/phpunit on line 48

Where should I start in troubleshooting this error?


Is your path to phpunit set right?


it was pure noobness that caused this problem. adding ".:" on the include_path on my php.ini file fixed the problem.

old: include_path = ”/usr/local/PEAR:/php/includes”;

new: include_path = ”.:/usr/local/PEAR:/php/includes”;

Thanks for the tip sanders, my phpunit path was set right, turns out my PEAR path wasn't.

0

精彩评论

暂无评论...
验证码 换一张
取 消