bug #26612 [PHPunit] suite variable should be used (prisis)

This PR was merged into the 3.4 branch.

Discussion
----------

[PHPunit] suite variable should be used

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT

If you using phpunit V7 with the CoverageListener you getting a error with `Undefined variable: test`

Commits
-------

8b8541e680 [PHPunit] suite variable should be used
This commit is contained in:
Fabien Potencier 2018-03-21 08:14:22 +01:00
commit 7af20bceae
1 changed files with 1 additions and 1 deletions

View File

@ -36,6 +36,6 @@ class CoverageListenerForV7 implements TestListener
public function startTestSuite(TestSuite $suite): void
{
$this->trait->startTest($test);
$this->trait->startTest($suite);
}
}