-
-
Notifications
You must be signed in to change notification settings - Fork 869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with PHP 8.1 in v4.0.0 #6626
Comments
My bad, we wanted to support php 8.2 only for v4.0. |
@soyuka thank you very much for your quick response! I see that you've also pulled the release, which is great. |
@soyuka the |
It also results in renovate to suggest an update, which fails with an error. |
API Platform version(s) affected: 4.0.0
Description
According to the requirement at Packagist,
4.0.0
is supposed to be compatible with PHP 8.1.0+. However, the use of a language feature (https://wiki.php.net/rfc/readonly_classes) supported in PHP 8.2+ introduced in 7110dc6 seems to have broken this, because I get the following error when trying to execute on top of PHP 8.1.29:How to reproduce
I'll follow-up with a simple reproduction shortly.
The text was updated successfully, but these errors were encountered: