Skip to content

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Dec 22, 2025

A refactor that modernizes slightly, by switching SabreDAV plugin loading over to the event listener. Drops Sabre plugin management declarations from appinfo/info.xml.

Doesn't make any real difference at the moment, but less future code debt.

Misc:

  • Adds new stubs needed for Psalm for this change
  • Updates the static-code-analysis to explicitly use PHP 8.2 (same as Server) since this repo's Psalm isn't sufficiently up-to-date to support PHP 8.5 yet (tests were failing)

TODO:

  • Split out Psalm php version range temporary lock into separate PR
  • Drop Psalm php version lock once split out is merged
  • Squash/clean-up commits before merge

@joshtrichards joshtrichards force-pushed the jtr/dav-plugins-event-reg branch from ebfa193 to daa6ca6 Compare December 22, 2025 17:16
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Replaced with event listeners

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards force-pushed the jtr/dav-plugins-event-reg branch from 08141d3 to d156e21 Compare December 24, 2025 17:34
@joshtrichards joshtrichards changed the title chore(dav): Register DAV plugins via SabrePluginAddEvent fix(dav): Register DAV plugins via SabrePluginAddEvent Dec 24, 2025
@joshtrichards joshtrichards added 3. to review Items that need to be reviewed technical debt dev Items related to internal development labels Dec 24, 2025
@joshtrichards joshtrichards marked this pull request as ready for review December 24, 2025 17:48
@joshtrichards joshtrichards added this to the Nextcloud 33 milestone Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Items that need to be reviewed dev Items related to internal development technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants