【问题标题】:Error while using SimplePHPUnit Package使用 SimplePHPUnit 包时出错
【发布时间】:2016-03-19 20:01:35
【问题描述】:

我目前正在使用来自 github 的以下包作为我的 sublime text 3 并收到错误消息

Github 包https://github.com/pr0ggy/SimplePHPUnit-for-Sublime-Text

错误 这个版本的 PHPUnit 需要 PHP 5.6;强烈建议使用最新版本的 PHP。 【0.1s完成】

PHP 7.0.2 (cli) (built: Jan  8 2016 10:14:20) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
[  4:01PM ]  [ manshu@Himanshus-MacBook-Pro:~(ruby-2.3.0) ]

【问题讨论】:

  • 你有什么问题?该插件需要 PHP 5.6,而您使用的是 PHP 7。
  • 问题是修复该错误。我意识到要在全球范围内安装 phpunit。 @MattDMo

标签: phpunit sublimetext3


【解决方案1】:

我不得不再次安装 phpunit,它在 phar 文件上与 CHMOD755 一起工作。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-09-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-20
    相关资源
    最近更新 更多