使用 WSL-2 和 Docker 在 PhpStorm 中设置 PHPUnit:无法解析 PHPUnit 版本输出:无法打开输入文件

问题描述

我在使用 WSL-2 (Ubuntu) 的 Windows 10 Professional 上使用 PHPStorm 设置 PHPUnit 时遇到问题,使用 Composer 开发 docker-compose PHP 应用程序。

我已经成功配置了 Composer autoload.PHP 的路径:

enter image description here

它正在查找实际 PHPUnit 的路径,但显示错误

Can not parse PHPUnit version output: Could not open input file: /var/www/project/vendor/PHPunit/PHPunit/PHPunit

enter image description here

我猜是文件权限有问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)