Change record status: 
Project: 
Introduced in branch: 
9.1.x
Introduced in version: 
9.1.0
Description: 

If you are using a custom phpunit.xml to run PHPUnit tests then from Drupal 9.1.0 the Symfony\Bridge\PhpUnit\SymfonyTestsListener can be removed. This file is often customised to set the SIMPLETEST_BASE_URL and SIMPLETEST_DB environmental variables for testing.

Before:

  <listeners>
    <listener class="\Drupal\Tests\Listeners\DrupalListener">
    </listener>
    <!-- The Symfony deprecation listener has to come after the Drupal listener -->
    <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
    </listener>
  </listeners>

After:

  <listeners>
    <listener class="\Drupal\Tests\Listeners\DrupalListener">
    </listener>
  </listeners>
Impacts: 
Module developers
Themers
Site templates, recipes and distribution developers