更新依赖项后 Behat 运行失败

Behat fails runing after updating dependencies

刚刚在一个正常运行的 Behat 上更新了 composer,现在打开 运行 behat 时收到以下消息。

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)。

任何建议将不胜感激:)

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

"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"
},