phpunit broken after upgrade to v3.5.3
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.
精彩评论