-
Notifications
You must be signed in to change notification settings - Fork 73
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
task: add support for php 8.2 #227
Conversation
@xaevik awesome, thanks for helping out! |
@xaevik the CI build fails because we sticked to Composer 1 for a long time (to be able to install the module also on older Magento instances). Now that hurts us ;( I think the best would be to upgrade to Composer 2 and not care about older Magento versions anymore. Since we run the builds for Magento 2.4.x, I think all those versions should be compatible with Composer 2. Or what do you think? |
@shochdoerfer if you're only targeting Magento >= 2.4.x at this point, I would safely say bumping the composer version to >= 2.2 in the CI pipeline would be wise, I can update the PR if you'd like to include those changes. As far as I remember, stock Magento 1.x never supported composer as a first party concern, but I know the OpenMage (which is an M 1.x fork) project does. |
@shochdoerfer I updated ci.yml to reflect the necessary changes:
This should allow the pipeline to run properly. |
Looks like a CodeSniffer dependency is missing, I'll address that shortly. |
Ok, looks like some more work is required here. Unfortunately |
No worries. You can skip the git hook if that is easier for you ;) As long as we get the build green, I am fine. |
@shochdoerfer it looks as though |
Fingers crossed ;) |
@xaevik looks good! Thx for the help. I know the version upgrades can be a bit annoying. Very much appreciate your support. Will try to release a new package in the next few days. Just need to find the time for it. |
@xaevik just wondering: Should we also remove the older PHP versions and Magento module versions from composer.json? I mean older versions of the module still work with those older versions and ideally the CI pipeline covers all versions we actively support. |
@shochdoerfer my general rule of thumb is to only support what is not considered end-of-life, in this case Magento >= 2.4.4 and PHP >= 8.1 (I need to add Magento 2.4.6 to the CI as I forgot). I'll make some further refinements to composer.json as well to bring everything up to snuff. |
Signed-off-by: Alan Brault <alan.brault@visus.io>
@shochdoerfer all right I've made the following changes:
Technically the direct PHP requirement in |
@xaevik thanks for helping out. And once again sorry for letting the PR hang for so long. Will release a version hopefully during this week. |
@shochdoerfer hey no worries, it's out now and now everyone can benefit from the change. |
Can you tag an update for this? Thanks! |
May bad, wanted to tag a release last week during my holiday, but somehow, things got out of my hand. Give me a day or two to get this done. |
Thanks! |
Description
Adds support for PHP 8.2 for Magento >= 2.4.6 installations