Allow Drupal to wrap the Symfony test listener

by @alexpott

Some issues have been detected in this pull request

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/37708/f563cf587e8598822878e8292d74baae7144297b/cs.diff | patch -p0
diff -ru src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php
--- src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php	2020-07-30 13:31:51.306618446 +0000
+++ src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php	2020-07-30 13:31:51.741609536 +0000
@@ -259,7 +259,7 @@
             foreach (get_declared_classes() as $class) {
                 if ('C' === $class[0] && 0 === strpos($class, 'ComposerAutoloaderInit')) {
                     $r = new \ReflectionClass($class);
-                    $v = \dirname(\dirname($r->getFileName()));
+                    $v = \dirname($r->getFileName(), 2);
                     if (file_exists($v.'/composer/installed.json')) {
                         self::$vendors[] = $v;
                         $loader = require $v.'/autoload.php';

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting