我正在使用 Laravel 4.2.* 和 Codeception 2.* 作为记录。
当我尝试使用 Laravel4 模块创建验收测试时,我使用此配置
## Other code
config:
Laravel4:
# This file is in app/tests/acceptance.suite.yml
start: '/../../bootstrap/start.php'
cleanup: true
## Other code
它有效,我的意思是我可以建造它。但是当我运行codecept run
它失败并引发致命错误。
致命错误:无法重新声明 GuzzleHttp\Stream\create()(之前在 phar:///usr/local/Cellar/codeception/2.0.0/libexec/codecept-2.0.0.phar/vendor/guzzlehttp/streams/src 中声明/functions.php:14) 在第 14 行的 /Users/Ludo237/Sites/l4/vendor/guzzlehttp/streams/src/functions.php
问题似乎是 Guzzle。我在我的应用程序上使用 guzzle,但 codeception 也使用它。
我该如何解决这个冲突?