I can not do PHPUnit 4.2.6 to work with PHPStorm 8 .
PHPUnit loads as phar in the settings of PHPStorm 8.
Whenever I try to run unit test in PHPStorm, I get this error:
Parse error: syntax error, unexpected '}' in /private/var/folders/qh/xjz1kr297v34pl6zy70_2rl00000gn/T/ide-phpunit.php(171) : eval()'d code on line 1 Call Stack: 0.0006 344584 1. {main}() /private/var/folders/qh/xjz1kr297v34pl6zy70_2rl00000gn/T/ide-phpunit.php:0 0.0007 344880 2. IDE_PHPUnit_Loader::init() /private/var/folders/qh/xjz1kr297v34pl6zy70_2rl00000gn/T/ide-phpunit.php:194 Warning: require_once(PHPUnit/Runner/Version.php): failed to open stream: No such file or directory in /private/var/folders/qh/xjz1kr297v34pl6zy70_2rl00000gn/T/ide-phpunit.php on line 49
When I looked at ide-phpunit.php, I found that it was trying to determine the wrong code due to the inappropriate use of the substr function.
So my question is: if someone managed to get PHPUnit 4.2.6 to work with PHPStorm 8?
Clickbeetle
source share