-
Notifications
You must be signed in to change notification settings - Fork 0
Drop official support for PHP 7.3 and below #10
Comments
We have to deprecate that in CP 1.6 if we want to follow SemVer best practices. |
I was under the impression we only need to deprecate the public API, I'd don't think that really applies to moving forward with supported dependencies unless I'm missing something. |
I found an article discussing this, but it's a bit more specific to Composer: |
I was looking here: |
I guess it really comes down to the interpretation of SemVer and is really up to us. In that article, it mentions Doctrine project which maintains several PHP libraries and how they dropped 7.3 support in a minor version. This is their reasoning and SemVer interpretation:
Either option is not wrong. So we must decide what we want to do. |
This issue has been mentioned on ClassicPress Forums. There might be relevant details there: https://forums.classicpress.net/t/minimum-php-version-should-be-7-x/2887/4 |
I agree it's open to interpretation. One thing that swings it for me towards a major release bump is that ClassisPress isn't always installed by a package manager. As per the outlined plan detailed some time ago by James, we certainly need a dashboard prompt to update PHP. My feeling is more inclined towards adding a message in v1 that PHP update is needed, especially now we officially support PHP 8.0. Then in v2 we can drop support for PHP 7.x (specific minor version for debate and agreement) and lower. |
I've read a lot on SemVer repo (there are endless issues about this) and agree that is subject to interpretations. |
I think that's a good approach. @bahiirwa was working on the PHP version notice/API: And this is API: |
One more issue related to PHP 5.6: |
Officially drop support for PHP 7.3 and older. ClassicPress may continue to work with older PHP versions but we will not be performing tests for those older versions or releasing bug fixes. We may consider releasing a security update in the interest of public safety.
PHP supported versions:
https://www.php.net/supported-versions.php
The text was updated successfully, but these errors were encountered: