How do I correctly install PHPUnit with PEAR?

前端 未结 8 811
甜味超标
甜味超标 2021-01-31 08:22

I have had to de- and reinstall a newer version of PHPUnit following these directions. Now when I\'m launching this line

sudo pear install --alldeps phpunit/PHPU         


        
8条回答
  •  不知归路
    2021-01-31 08:39

    I also had this error message:

    Unknown remote channel: pear.symfony.com

    Solved creating an alias:

    pear channel-alias pear.symfony-project.com pear.symfony.com
    

    and then

    channel-discover pear.symfony-project.com
    
    sudo pear channel-discover components.ez.no
    
    sudo pear update-channels
    
    sudo pear upgrade-all
    
    sudo pear install --force --alldeps phpunit/PHPUnit
    

提交回复
热议问题