Skip to content

Conversation

@DerDreschner
Copy link
Contributor

@DerDreschner DerDreschner commented Feb 12, 2026

Summary

PHP 8.5 includes several deprecations we are affected on. A list of warnings that appeared when running the unit tests is included in #12384. This PR closes the ones in our unit tests and updates/patches the dependencies that are affected. The remaining warnings will disappear once nextcloud/server#58201 is being merged.

Closes #12384.

@DerDreschner DerDreschner force-pushed the fix/php85-deprecation-warnings branch from 08aefb8 to b39d653 Compare February 12, 2026 15:20
Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
@DerDreschner DerDreschner force-pushed the fix/php85-deprecation-warnings branch from b39d653 to 6f33f46 Compare February 12, 2026 15:23
@DerDreschner DerDreschner changed the title [WIP] fix: Fix deprecation warnings when using PHP >= 8.5 Fix deprecation warnings when using PHP >= 8.5 Feb 12, 2026
@DerDreschner DerDreschner marked this pull request as ready for review February 12, 2026 16:45
@DerDreschner
Copy link
Contributor Author

What was changed in server that the psalm test for master now fails? 🤔 https://github.com/nextcloud/mail/actions/runs/21952685478/job/63419185937?pr=12404

@kesselb
Copy link
Contributor

kesselb commented Feb 12, 2026

What was changed in server that the psalm test for master now fails? 🤔 https://github.com/nextcloud/mail/actions/runs/21952685478/job/63419185937?pr=12404

The source for the ocp package is at https://github.com/nextcloud-deps/ocp. That is handy to find the latest changes. It looks related to the typing introduced by nextcloud/server#58256.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecation warnings when using Mail app with PHP 8.5

2 participants