PHPUnit working in IDE, but server says class not found

后端 未结 2 1761
伪装坚强ぢ
伪装坚强ぢ 2021-01-27 14:37

I am using the Symfony3 plugin in PhpStorm. My PHP Interpreter is 7.0.18. I have PHPUnit 6.3.0 configured in PhpStorm by having the .phar file in the root directory

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-27 15:28

    Installation of PHPUnit via composer worked. It turns out my composer installation went wrong in some way. After composer was successfully installed, I let it handle installing PHPUnit. After that it just worked. Tests work fine in the IDE and the server is responsive again. Thanks LazyOne.

提交回复
热议问题