Skip to content

Conversation

@gam6itko
Copy link
Contributor

No description provided.

@roxblnfk
Copy link
Member

I'm not sure that will work because there the runTest() method is final:
https://github.com/sebastianbergmann/phpunit/blob/9b98888a90c39dc922f01e6d3a34bc077bac3460/src/Framework/TestCase.php#L1095

But we extend it in our test case:

protected function runTest(): mixed

Until PHPUnit becomes extensible or interceptors are added, we likely won't be able to upgrade to version 11. If you know how we can intercept test execution in another way, please let us know.

BTW, related issue: sebastianbergmann/phpunit#5254

@roxblnfk roxblnfk marked this pull request as draft December 14, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants