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
Deprecation notices with PHP 8.1 #10008
Comments
@shivammathur sorry to nag you but as I've been wondering this for a while, I figured this is as good a time as any to ask.. What's the timeline on getting new composer releases to be included by setup-php? Is it dependent on some manual build step you have to do? Is there anything I could do to speed this up? I just released 2.1.4 which fixes 8.1 deprecations and it'd be great to get it out to GH actions :) |
@shivammathur Similarly, I have now tried switching to |
@Seldaek Looking at the setup-php code, it downloads it from https://github.com/shivammathur/composer-cache, which is updated by a cron once a day |
@Seldaek I think a good solution would be adding a flag in setup-php to not use the cache, but use getcomposer.org as the source. |
@shivammathur another thing might also be to increase the frequency of the cron updating the cache (the snapshot on getcomposer.org is not updated only nightly, but when there is activity in the composer repo) |
Right if that was updated hourly for example that would completely solve the issue IMO. |
@Seldaek I will update the cron, and add the flag in the next release. |
I'm getting deprecation notices with 8.1 as well:
I'm not sure that these are directly related though, and if your changes will resolve my deprecation notices The above was output from
|
@MarkBaker Please re-run your workflow, |
Thanks for the prompt fix as always! |
This is tracked elsewhere: |
Having same notices here, and I didn't really understand how to solve.. Any easy explanation? :) Thank you |
It seems the merge didn't fix the issue, after upgrading to |
Please create a new issue with more details.. Saying "me too" when something has been fixed for over six months and nobody had a problem clearly indicates this is either some other issue, or you're doing something wrong in your environment and not using the fix. None of which is going to be solved by writing here that you have the same problem. |
Honestly, I really didn't understand what the fix should be. None of the aswers seems to explain it step by step. At least to me. I'm not a shell expert. Simply composer has always worked, until I updated system php to v8. Then composer should still work, at least after updating it. |
Composer should work yes, if you use a version which is compatible with PHP 8.1.. I don't know what version you are using as you provided no details whatsoever. If you opened a new issue and follow the issue template I may have enough info to help you. How about doing that instead of arguing here? |
From https://github.com/sebastianbergmann/phpunit/runs/3111696987:
Related
The text was updated successfully, but these errors were encountered: