-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: drop support for php 8.0 #44607
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The missing platform was not Debian, but SLES.
After some more email communication they made it temporarily available on packagehub until 15 service pack 6 will ship it later this year:
https://packagehub.suse.com/packages/php81/
So this is okay now
// Show warning if a PHP version below 8.1 is used, | ||
if (PHP_VERSION_ID < 80100) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PhpOutdated
setup check also needs to be adapted or removed.
I would say we can make it warn when PHP is <8.2, since 8.1 will be EOL soon after next release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I adjusted the check.
You are currently running PHP 8.1.26. PHP 8.1 is now deprecated in Nextcloud 30. Nextcloud 31 may require at least PHP 8.2. Please upgrade to one of the officially supported PHP versions provided by the PHP Group as soon as possible. For more details see the documentation ↗.
ffbe9c5
to
ac75e20
Compare
Looks like psalm reports new errors, that should either be fixed or added to baseline |
Also drone images use 8.0, so we need to upgrade or migrate to github CI |
ac75e20
to
dd371a3
Compare
6e3a806
to
6c5b994
Compare
Why does Psalm check files inside 3rdparty?
|
I think it always did, because we need to include 3rdparty files for class references, and we never added anything to ignore errors in there. |
Conflict because of #44663 fixing some of the same psalm errors xD |
200b8dc
to
8061ea4
Compare
lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php
Outdated
Show resolved
Hide resolved
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Not sure about the SimpleContainer modification, let’s see what CI says about that. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Ref nextcloud/docker-ci#634 Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
The CDATA stuff comes from a psalm new version, nothing to worry about, both syntax are equivalent. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
464e38c
to
4fd9549
Compare
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
4fd9549
to
e0b5366
Compare
Summary
PHP 8.0 has been EOL for a long time now. Even debian stable is on PHP 8.21.
This change should also be reflected in the documentation and workflow template repository.
Checklist
Footnotes
https://packages.debian.org/bookworm/php ↩