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
PHP 8.2 compatibility #5168
Comments
There's already fixed webmozarts/assert@af18046 EDIT this dependency needs upgrade to 1.11.0 |
I think this is done. |
I'm getting this error for version 11.5.1
So it's fixed but not released? Do I downgrade to get the upgrade? I'm not sure why the versions go from 11.5.1 (latest) to 8.4.12 and then to 12.. |
Drush 8 is the legacy version of Drush, for Drupal 7 support. Drush 8 and Drush 12 support PHP 8.2; looks like Drush 11 does not. You could try one of the RC releases of Drush 12. Drush 12 stable should be released pretty soon. |
Thank you @greg-1-anderson . I see that when I try 12.0.0-rc4 it does seem to use webmozart/assert version 1.11.0 as mentioned above. However I get these errors after the upgrade:
Any ideas or suggestions? |
can;t reproduce
|
@andypost Can you start with drush version 11.5.1 , then do a composer update to get version 12 and then run those commands? That's my context. Is there a different upgrade step than a |
@danshumaker yes, both works for me but use |
Something also blocked me from upgrading to version 12. So I tried removing and re-installing Drush, which worked well. Drush blocks Composer updates in some situations, where the trick is to remove it temporarily. |
Cool works now. thx. |
@greg-1-anderson @andypost Just fyi this might end up causing more problems. We performed the composer update in our repo and when it was deployed to Acquia the container got the drush errors mentioned above.
Any suggestions on a fix? |
I can replicate this:
|
Upcoming release https://wiki.php.net/todo/php82 already started to publish releases
There's few incompatibilities detected so let's collect them under this issue
On July 21 first beta will be published but some changes already could be caught
PS core's issue is https://www.drupal.org/project/drupal/issues/3283358
The text was updated successfully, but these errors were encountered: