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:
commit
7af20bceae
@ -36,6 +36,6 @@ class CoverageListenerForV7 implements TestListener
|
|||||||
|
|
||||||
public function startTestSuite(TestSuite $suite): void
|
public function startTestSuite(TestSuite $suite): void
|
||||||
{
|
{
|
||||||
$this->trait->startTest($test);
|
$this->trait->startTest($suite);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user