Test on PHP 8.2
With PHP 8.2 coming out later this year, we should be reading for it's release to ensure all out code works on it.
In order to finish this PR https://github.com/phpspec/prophecy/issues/556 needs to be resolved. Or we need to consider one of the solutions in the issue. I'll file this PR onto our other packages as well, including the TEMP commit with a temporary workaround so I can continue looking for potential issues on 8.2.
@WyriHaximus wanted to ask what the current status of this PR is. I remember seeing some deprecation notices last time I checked, but I can't see them anymore. Maybe it fixed itself in the meantime :D
@SimonFrings Good question, will force push to find out
@SimonFrings All green now :tada:
@WyriHaximus Nice, just noticed the warnings for ext-event with PHP 8+. Nothing you caused with this PR, this is why I'd say we merge this as is and look into these warnings in a follow up PR.
We should also keep in mind that ubuntu-18.04 will cause failing tests the next couple of months, so we should also look into a solution for this as well.
@SimonFrings Sounds like a plan, thought we already updated all ubuntu runners, to be honest.