title: Symfony/PHPUnit enable profiler in tests
body: <p>I want to enable the symfony profiler for my tests,I followed this <a href="https://symfony.com/doc/current/testing/profiling.html" rel="nofollow noreferrer">documentation</a> but my profiler stay empty. I'm using PHPUnit 7.5.16, and Symfony 4.3.4 with PHP 7.2.19.
  What should I add ?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>#web_profiler:
  #    toolbar: false
  #    intercept_redirects: false
  #
  #framework:
  #    profiler: { collect: false }
  
  web_profiler:
    toolbar: true
    intercept_redirects: false
  
  framework:
  #  profiler: { only_exceptions: false }
    # make tests slowest, but it s usefull in local,watch this doc: https://symfony.com/doc/current/testing/profiling.html
    profiler: { enabled: true, collect: true }</code></pre>
  </div>
  </div>
  </p>
  
  <p>and in the setUp() method I have</p>
  
  <pre><code>parent::setUp();
  $client = static::createClient();
  $client-&gt;enableProfiler();
  </code></pre>