-
Notifications
You must be signed in to change notification settings - Fork 77
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
bump min php versions #215
Comments
IMO just support PHP 7.3 and up. One benefit of dropping the older minor versions of PHP is that gradually more parameter and return types can be used, and new functions relied-on etc. |
Since 7.3 is at EOL, what about bumping the version and requiring 7.4? Typed properties in classes are great, among other things. |
Yes, we are about at that point anyway. Various consumers of these sabre-io repos that I am familiar with have either dropped, or are soon to drop, PHP 7.3 support. We could make a branch from current master that can keep the current PHP support and if any interesting/critical/security patches are needed then we can backport patches to that branch. And then in master develop PHP 7.4+ code, put all the possible type declarations in parameters, function returns, variables, removing deprecated stuff... and release as a new major version. That avoids the need to think hard about strict backward-compatibility for methods of classes etc that start having stricter formal interfaces, and for which there could be implementations that extend the class and now have to also add the types. For the future, some time in 2023, we can discuss dropping PHP 7.4. And that may or may not cause another major version bump, depending on what extra things happened in PHP 8.0+ that are not available in PHP 7.4. But that can be a separate discussion. |
Agree 👍 |
Major version 3 https://github.com/sabre-io/xml/releases/tag/3.0.0 has been released here. I am looking at vobject now. I will leave this issue open, and update as I progress up the tree to finally get sabre/dav sorted out. |
7.4 is min -> close |
I think we should strip down the supported php version matrix
what do you guys think about dropping at least 7.1/7.2 ?
see https://www.php.net/supported-versions.php
The text was updated successfully, but these errors were encountered: