PHPUnit , PEAR upgrading Errors

前端 未结 4 1296
一生所求
一生所求 2021-01-12 03:33

Note : I\'ve read all questions about this problem

PEAR is installed and configured on my system (Ubuntu 11.10 + Apache/2.2.20). Because

<         


        
4条回答
  •  爱一瞬间的悲伤
    2021-01-12 04:09

    I've just upgraded my Ubuntu system and I've got PEAR 1.9.4 stable. Run

    sudo apt-get update
    sudo apt-get upgrade
    

    to get your Ubuntu synchronised and up to date.

    If you were still struggling with the versions as above my suggestion is to install a previous version of PHP_CodeCoverage that is compatible with your phpunit. Before I upgraded my system, I had phpunit-3.5.15 (stable), PHP_CodeCoverage 1.0.5 (stable) installed with PEAR 1.9.2. If this is your phpunit version

    sudo pear install PHP_CodeCoverage-1.0.5
    

    should install PHP_CodeCoverage with PEAR 1.9.2.

    I hope this helps and you get your unit tests running.

提交回复
热议问题