更新时间:2023-09-12 10:18:34
Patrick Visma发布了解决方案: http://youtrack.jetbrains.com/issue/WI-13429 :
Patrick Visma posted the solution on http://youtrack.jetbrains.com/issue/WI-13429:
在PHPStorm中编辑phpunit.xml的配置,并设置解释器选项,如下所示:
Edit the configuration for your phpunit.xml in PHPStorm, and set the Interpreter options like this:
-d auto_prepend_file=/path/to/vendor/autoload.php