Cannot redeclare class phpdocumentor\reflection\docblock\tag\methodtag

I get the following error when trying to execute phpunit within PhpStorm:

Fatal error: require(): Cannot redeclare class phpdocumentor\reflection\docblock\tag\methodtag in /home/hhl/public_html/posthus/_intellij_phpunit_launcher.php(194) : eval()'d code on line 457
Call Stack:
    0.0009     944008   1. {main}() /home/hhl/public_html/posthus/_intellij_phpunit_launcher.php:0
    0.0009     944008   2. IDE_Remote_PHPUnit_Loader::init() /home/hhl/public_html/posthus/_intellij_phpunit_launcher.php:250
    0.0178    1861784   3. eval('if (__FILE__ == realpath($GLOBALS['_SERVER']['SCRIPT_NAME'])) {
    $execute = true;
} else {
    $execute = false;
}


When making the same on the remote server, everything is working fine.

I use PhpStorm 10.0.1 on windows 7.  My remote server is a Debian 6.   php version: 5.3.3.  phpunit version: tried many 4-8 latest (phar version).

Is there somebody who can give me some good advice

HH

Please sign in to leave a comment.