-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Drop PHP 7.4 support #7924
Drop PHP 7.4 support #7924
Conversation
78e041f
to
1adc0f0
Compare
I don't know when v4.5 will be released, but currently, PHP 7.4 is still used by more than 20% of 4.4 users. https://packagist.org/packages/codeigniter4/framework/php-stats#4.4 |
The release of 4.5 will be after the release of PHP 8.3, no matter how soon. |
auto-label failed.
https://github.com/codeigniter4/CodeIgniter4/actions/runs/6167549712/job/16739374912 |
@kenjis By https://github.com/prince-chrismc/label-merge-conflicts-action#faq---how-do-i-fix-resource-not-accessible-by-integration We already set minimum permission permissions:
issues: write
pull-requests: write |
I don't know, but isn't there a difference between |
@datamweb I agree, Different : - uses: prince-chrismc/label-merge-conflicts-action@v3
with:
conflict_label_name: 'stale'
github_token: ${{ github.token }} uses: actions/checkout@v4
with:
repository: codeigniter4/api
token: ${{ secrets.ACCESS_TOKEN }} Parameter https://github.com/codeigniter4/CodeIgniter4/blob/develop/.github/workflows/deploy-apidocs.yml#L40 |
They are the same.
|
Any ideas on the other failure? I will try rerunning.
|
Upload coverage results to Coveralls / coveralls
|
Created an issue #7941 |
172bffa
to
76718a7
Compare
It seems unethical to continue to support an unmaintained PHP version. If someone needs using PHP 7.4, s/he can use v4.4. |
Personally, I'm not against abandoning PHP 7.4. However, if we draw the line based on the officially supported version of PHP and not what our users actually use, then supporting PHP 8.0 after November 26, 2023, will also be "unethical". What's more... according to composer stats, the percentage of users using 8.0 is smaller than those using 7.4. If we want to say "Use CI 4.4 if you need support for an unsupported version of PHP," then it would be more natural to introduce PHP 8.1 as a minimum version for CI 4.5 release. |
I would like to merge this. |
Co-authored-by: MGatner <[email protected]>
67f2aa6
to
83865ae
Compare
No one objects, so I merge. |
I'm good with this. @michalsn I am generally in favor of keeping our supported versions in line with PHP, while also recognizing driving factors. Often time is just our biggest bottleneck - we haven't always been compatible with new versions of PHP on their release, which is a much higher priority. On the bottom end we are motivated to drop versions that prevent us from adopting features. The feature set of PHP 7.4 => 8 is way more enticing than 8.0 => 8.1, so while I agree it would be better to keep consistency there's also less motivation among all the work competing for priority. |
Description
See #6921
Supersedes #6922
Checklist: