-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
windows10-21H2 composer version can not switch #10444
Comments
This is very weird. I can confirm that updating from 1.10.24 to 2.2.3 doesn't work on PHP-8.1, but I have no idea why (PHP-8.0 works fine). Also, updating and rolling back 2.2 versions in PHP-8.1 is not a problem. |
Thanks for pinpointing the problem and reporting it upstream @johnstevenson - leaving this open for now until the bug is fixed in PHP. For the time being please try to self-update using a version lower than 8.1 @miaotiao or simply reinstall Composer from scratch so you get the latest. |
Not sure it's worth fixing on our end if a 8.1.x fix is also coming. |
Ah, I've already done it. Anyway, it is up to you (it would at least allow 8.1.0 and 8.1.1 versions to keep working). |
Thank you so much , happy weekend |
1.10.25 released with the fix, but to self-update to it you'll have to use php<8.1 of course :) |
Output of
composer diagnose
:When I run this command:
I get the following output:
And I expected this to happen:
can switch composer 1.* to composer 2.*
The text was updated successfully, but these errors were encountered: