Closed Firehed closed 2 years ago
Reopen when 8.1 is out of the door and issue still there. We will not create fixes for alpha releases of PHP.
Will do :)
@frederikbosch Hi, it is still the same for the PHP 8.1RC6, which is the last pre-release version.
I've confirmed this to also be present under the GA release of PHP 8.1.0.
I'm more than happy to create a PR to fix this, but I see at least one open that's trying to do the same thing. Can any maintainer comment on how they'd like to proceed?
PR #670 is the way forward. At the moment incompatible dependencies - phpspec in particular - are blocking the merge of this PR now.
PR #670 is the way forward. At the moment incompatible dependencies - phpspec in particular - are blocking the merge of this PR now.
hey @frederikbosch I also opened #675, could you please have a look? I think dev dependencies don't need to block this as it's quite a small change
Support is there, see version 4.0.3. Thanks for the help.
When starting to test on the 8.1 alpha builds, I encountered the following deprecation warnings from this library:
I'm currently still on
3.x
, but it looks like the issue is present on4.x
and HEAD.It looks like adding native return types (replacing the docblock annotations) fixes the issue, and as the two classes are declared
final
I don't think it should create any BC issues.Happy to send a PR to fix if you'd like - let me know!