Skip to content

Support Nextcloud 35 - #409

Merged
chadek merged 1 commit into
nextcloud:masterfrom
chadek:support-nextcloud-35
Oct 17, 2026
Merged

chadek merged 1 commit into
nextcloud:masterfrom
chadek:support-nextcloud-35

Conversation

@chadek

@chadek chadek commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump the declared compatibility range to Nextcloud 35 (appinfo/info.xml).
  • Symfony Console 7, which NC 35 ships, requires Command::execute() to declare an int return type; without it FlushChanges and Fonts fatal on boot with a "Declaration must be compatible" error. Both now declare it.
  • Move the test rig's default image to nextcloud:35.0.2-apache and the pinned ONLYOFFICE connector to 10.2.1, the first release that declares support for 35 (10.1.2 tops out at 34 and refuses to install).
  • Point the phpunit workflow's nextcloud/server checkout at stable35, the newest release info.xml now declares support for.

Test plan

  • Ran tests/rig end to end against nextcloud:35.0.2-apache with connector 10.2.1: rig up, provision (both apps enabled), full regression suite via ./rig.sh test --keep-going.
  • php -l on the two edited command classes.
  • CI (phpunit against stable35, lint, integration) on this PR.

🤖 Generated with Claude Code

Symfony Console 7, which 35 ships, requires Command::execute() to declare
an int return type; without it the two occ commands here fatal on boot.
Declares it on both, bumps the compatibility range, and moves the rig and
the phpunit workflow onto 35 and a connector release that supports it
(10.1.2 tops out at 34).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Fabrice Meyer <meyer.fabrice@gmx.fr>
@chadek
chadek force-pushed the support-nextcloud-35 branch from 0ff97a7 to dc52f80 Compare October 17, 2026 19:35
@chadek
chadek merged commit 34341be into nextcloud:master Oct 17, 2026
7 of 8 checks passed
chadek added a commit that referenced this pull request Oct 17, 2026
Nextcloud 35 support (#409): the two occ commands here declared
execute() without the int return type Symfony Console 7 requires,
which faults app boot on 35. No migration carries this one, but
the appstore push expects a version that moved.

Signed-off-by: Fabrice Meyer <meyer.fabrice@gmx.fr>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant