我正在尝试安装 php 单元版本 6.5。
我已经安装了 7.0.1,并尝试使用以下命令安装 phpunit 6.5 版本:
brew install phpunit@6.5
Run Code Online (Sandbox Code Playgroud)
Brew 告诉我安装了旧版本,但phpunit --version
版本是 7.0.1。
尝试brew switch phpunit 6.5
,我收到消息:
Error: phpunit does not have a version "6.5" in the Cellar.
Versions available: 7.0.1
Run Code Online (Sandbox Code Playgroud)
我需要采取哪些步骤才能将版本切换到 6.5?
我已经手动安装:
$ wget https://phar.phpunit.de/phpunit-6.5.phar
$ chmod +x phpunit-6.5.phar
$ sudo mv phpunit-6.5.phar /usr/local/bin/phpunit
$ phpunit --version
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4856 次 |
最近记录: |