title: How to configure PhpStorm to use symfony/phpunit-bridge
body: <p>I had problems with configuring PhpStorm IDE to use <a href="http://symfony.com/doc/current/components/phpunit_bridge.html" rel="noreferrer">http://symfony.com/doc/current/components/phpunit_bridge.html</a> while working with Symfony 3.3. </p>
  
  <p>I decided to just download <code>phpunit.phar</code> to <code>bin</code> and use it instead.</p>
  
  <p>Symfony 3.4 (and Symfony 4), does not even have <code>phpunit.xml.dist</code> out of the box, so there is a problem with using <code>phpunit.phar</code> easily.</p>
  
  <p>I've installed PHPUnit using flex:</p>
  
  <pre><code>composer req phpunit
  </code></pre>
  
  <p>That created phpunit.xml.dist and I was able to run tests from command line by:</p>
  
  <pre><code>php bin/phpunit
  </code></pre>
  
  <p>But again I could not make PhpStorm use it.</p>
  
  <p>So I downloaded <code>phpunit.phar</code> and it can work together with provided phpunit.xml.dist.</p>
  
  <p><strong>Question 1:</strong> Is there any way for PhpStorm IDE to use phpunit-bridge? </p>
  
  <p><strong>Question 2:</strong> What is the best practice for Symfony 4 (phpunit-bridge or vanilla phpunit.phar)?</p>