title: PhpStorm PhpUnit via phar autocomplete not working
body: <p>I have PHPStorm 8.0.1.</p>
  
  <p>PHPUnit is installed via PHAR archive like:</p>
  
  <pre><code>wget https://phar.phpunit.de/phpunit.phar
  chmod +x phpunit.phar
  sudo mv phpunit.phar /usr/bin/phpunit
  </code></pre>
  
  <p>PHPUnit works via cli:</p>
  
  <pre><code>user@pc:/usr/bin$ cd ~
  user@pc:~$ phpunit --version
  PHPUnit 4.3.5 by Sebastian Bergmann.
  </code></pre>
  
  <p>I followed the instructions from JetBrains website <a href="https://www.jetbrains.com/phpstorm/webhelp/enabling-phpunit-support.html#d298258e897">https://www.jetbrains.com/phpstorm/webhelp/enabling-phpunit-support.html#d298258e897</a></p>
  
  <p>In PHPStorm File->Settings tab PHP/PHPUnit
  the radio button <code>Path to phpunit.phar</code> is checked
  and value is set to <code>/usr/bin/phpunit</code></p>
  
  <p>I have a file with a test defined like:</p>
  
  <pre><code>class MyTest extends PHPUnit_Framework_TestCase {
  ...
  </code></pre>
  
  <p>At this point PHPStorm marks <code>Undefined class PHPUnit_Framework_TestCase</code></p>
  
  <p>I've restarted PHPStorm and Computer, but still have the same problem.</p>
  
  <p>I've also tried adding <code>/usr/bin</code> to include path (right click on external libraries in project view, and choose option <code>Configure PHP include paths</code>) without success.</p>
  
  <p>Here's the config for PHPStorm Settings, tab PHP (if it matters):</p>
  
  <pre><code>PHP Language level: 5.5 (finally, generators, etc.)
  Interpreter: PHP 5.5 (5.5.9-1ubuntu4.5)
  Include path is empty
  </code></pre>