-
Notifications
You must be signed in to change notification settings - Fork 57
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
PHP 8.1 compatibility #1192
Comments
This is preventing installation on Arch Linux systems, and the proposed fix seems to work fine. |
@sempervictus If you're on Arch Linux you can install https://aur.archlinux.org/packages/nextcloud-app-totp. It patches the |
Nextcloud 24.0.0 has just been released and it supports PHP 8.1. |
Is there any update on this? While the AUR is a great thing to have it would make sense that the plugin is compatible to the same PHP version as nextcloud itself. nextcloud 24 is now compatible up to php 8.1 and so should be this addon. Since the issue says that the addon itself is compatible, what is holding this change back? |
I'll try my best to work on this soon. If you have time for a contribution I'd appreciate a PR that adapts the app for PHP8.1, adjusts the CI matrices, lints, acceptance tests and gives it a good test overall. On a very high level you can check out https://docs.nextcloud.com/server/latest/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_24.html#php8-1 for migration help. From what I've seen in other apps any extended PHP interfaces have to be checked, e.g. JsonSerializable and string operations with possible null values. Cheers |
An app like totp.... which is critical for every users to login securely in nextcloud .... when you guys release nextcloud you guys need to confirm that at least all critical apps like totp/webauth/e2e all up to date... before nextcloud major version release.... |
To @IzumiSenaSora's point about this being critical for functionality: any chance of the 2FA apps getting rolled into the main project to sync release cadence and functional testing? |
PR is at #1227. |
Could anyone report back on giving a try at updating their Nextcloud 23 to 24 with the following #1227 PR ? |
The app is compatible with PHP 8.1 and works fine without any warnings or errors. Only the
max-version
ininfo.xml
needs to be adjusted.The text was updated successfully, but these errors were encountered: