Closed majermi4 closed 6 months ago
Yep, I think we'll need a phpunit 10 specific subscriber.
I was thinking symfony bridge was not compatible yet?
Correct, my plan was to wait until the bridge supports phpunit 10 before digging into this.
The bridge isn't required by browser so if someone wants to create a PR in the meantime, that'd be cool.
Hi Kevin. Is there anything in the pipeline for PHPUnit 10 support yet? Thanks.
I'm still waiting for symfony/phpunit-bridge to support phpunit 10. I wouldn't use phpunit w/o the bridge so I don't have much motivation to implement yet.
Hello,
I also bumped on this issue, and feeled free to inspire myself from what was done for Panther.
So here's my proposal for this issue : https://github.com/zenstruck/browser/pull/137
This can be closed as supported (with the linked PR).
indeed, thanks!
Hi,
I've tried upgrading my project to PHPUnit 10.* today and ran into errors like this when running my tests:
Looks like this is due to the BrowserExtension using these hooks:
which have been deprecated in PHPUnit 10 and replaced by a new event system. https://thephp.cc/presentations/phpunit-10-the-new-event-subsystem