Behat更新依赖项后无法运行 [英] Behat fails runing after updating dependencies

查看:113
本文介绍了Behat更新依赖项后无法运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅在运行中的Behat上更新了作曲器,现在打开正在运行的behat会收到以下消息.

Just updated composer on a functioning Behat, and now getting the following messages open running behat.

不推荐使用PHP:自2.5版起不推荐使用"Symfony \ Component \ Console \ Helper \ DialogHelper",并将在3.0版中将其删除.

PHP Deprecated: "Symfony\Component\Console\Helper\DialogHelper" is deprecated since version 2.5 and will be removed in 3.0.

我正在使用Behat-3(~3.0@dev).

Im using Behat-3 (~3.0@dev).

任何建议将不胜感激:)

Any advice will be appreciated :)

推荐答案

我不知道您的composer.json是什么样子,但我建议您对require块中的软件包使用稳定的版本.尽可能尝试使用特定版本.

I don't know what your composer.json looks like but I would suggest you to use stable versions for packages in require blocks. Try to use specific versions when possible.

"require": {
        "hello/world": "1.2.3",
        "abc/cde": "~4.3.0",
        "php": ">=5.4.0"
    },
"require-dev": {
    "similar/to-above": "1.11"
},
"require-test": {
    "similar/to-above": "3.2.6"
},

这篇关于Behat更新依赖项后无法运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆