Cannot find PHPUnit in include path phpstorm

This is the way to do it without using composer, and using your global phpunit.Phpunit now comes with a phar file. My path was/usr/local/Cellar/phpunit/5.0.0/libexec/phpunit-5.0.0.phar

PhpStorm Preferences -> Path to phpunit.phar -> select the phpunit phar

That's all, good stuff.

原文地址:https://www.cnblogs.com/XACOOL/p/5388504.html