Behat fails runing after updating dependencies

徘徊边缘 提交于 2019-12-12 05:51:29

问题


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

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

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

Any advice will be appreciated :)


回答1:


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


来源:https://stackoverflow.com/questions/30728076/behat-fails-runing-after-updating-dependencies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!