8000 bug #26612 [PHPunit] suite variable should be used (prisis) · symfony/symfony@7af20bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 7af20bc

Browse files
committed
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 ------- 8b8541e [PHPunit] suite variable should be used
2 parents 34d5b5e + 8b8541e commit 7af20bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/Legacy/CoverageListenerForV7.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public function __construct(callable $sutFqcnResolver = null, $warningOnSutNotFo
3636

3737
public function startTestSuite(TestSuite $suite): void
3838
{
39-
$this->trait->startTest($test);
39+
$this->trait->startTest($suite);
4040
}
4141
}

0 commit comments

Comments
 (0)
0