-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Support 8.0 and 8.2 #199
Comments
PHP 8.0 is no longer supported at all: it's out of maintenance since end of 2023. |
Hey @Ocramius I know it is not maintained anymore, But there isn't a version that support php 8.0 and 8.2, it keeps the php upgrade a bit more complicated 😞 I really appreciate if we could add a patch for 4.8.x supporting 8.0 version like -"php": "~8.1.0 || ~8.2.0"
+"php": "~8.0.0 || ~8.1.0 || ~8.2.0" if you want, I could open a PR for this. Note: I would like this |
@eerison you don't need to pin to a specific |
But it gonna generate 2 different composer.lock. And it's the only dependency that doesn't support 8.0 || 8.2 🥲. Making this change here, I would have the same code base and dependencies version working on 8.0 and 8.2. |
Indeed, that's exactly what it will end up with, and that is OK :-) Otherwise, lock your dependencies for only one specific version (probably your lowest supported one), and test with That's precisely what our CI does here as well:
https://github.com/laminas/laminas-code/actions/runs/8297214672/job/22707845493 |
Yep, I just would like to avoid
it is the output that , I get when I try to run composer install without run composer update(on 8.2).
|
Few things to note: Laminas PHP version supportLaminas drops support for EOL versions of PHP as they go EOL. This is decided here. It will be done regularly / whenever we touch projects. Don't add feature work to old branchesWe don't touch past releases unless it's a critical or security bugfix. Especially don't want to touch What if we still applied a version support widening patch?Even if we applied a range widening patch to an older release, you'd run in the same problem at the next minor PHP version anyway. With PHP 8.4, for example, we'd probably drop PHP 8.1, which is planned to be supported until 2026-01-01. Single
|
No problem, thank you for the explanation. |
Support 8.0 and 8.2
Summary
Hey guys would be possible we create a release that supports php 8.0 and 8.2?
atm I am doing upgrade from 8.0 to 8.2 and it is the only lib that isn't compatible with both php versions :/
edit: maybe on 4.8.x: https://github.com/laminas/laminas-code/blob/4.8.x/composer.json#L12
The text was updated successfully, but these errors were encountered: