How to upgrade phpunit to new version?

后端 未结 5 1879
悲&欢浪女
悲&欢浪女 2021-01-11 23:02

Current, I installed phpunit. i use OS win 10. I think i installed new version from https://phpunit.de/ (current version 5.6, beta 5.7). But when check version with command

5条回答
  •  -上瘾入骨i
    2021-01-11 23:55

    There are two different things update and upgrade. If you type

    phpunit

    it will show you all commands available. If you see in the end it shows

    --self-update       Update PHPUnit to the latest version within the same
                        release series.
    
    --self-upgrade      Upgrade PHPUnit to the latest version.
    

    Try what you need.

提交回复
热议问题