Cannot find PHPUnit in include path phpstorm

前端 未结 7 1651
-上瘾入骨i
-上瘾入骨i 2021-01-31 16:19

Cannot find PHPUnit in include path is the error message I get when I try to run my code in phpstorm.

In the PHP Settings, my PHP level language is 5

7条回答
  •  眼角桃花
    2021-01-31 16:29

    In addition to Ben's answer, in phpStorm 7.1.3 it works by specifying the phpunit.phar location under the "use custom loader" option, for example:

    "Path to script: /usr/share/php/phpunit.phar"

提交回复
热议问题