Cannot get PHPunit working

后端 未结 1 1698
予麋鹿
予麋鹿 2020-12-23 12:26

I have been tring to get PHPunit working for my zend framework project and have been encountering various problems. I have reinstalled PEAR and uninstalled PHPunit, and rein

相关标签:
1条回答
  • 2020-12-23 12:38

    It picks up the right phpunit but the other packages are missing. You should be able to fix this using

    sudo pear install --alldeps --force phpunit/phpunit
    

    or if you want to only update the lib that seems to be the issue:

    sudo pear install --force phpunit/PHPUnit_MockObject
    

    Windows Users: Omit "sudo"if you are on windows platform

    0 讨论(0)
提交回复
热议问题