Skip to content

refactor(comment): Port away from deprecated event comment constant - #56076

Merged
nickvergessen merged 1 commit into
masterfrom
carl/cleanup-comment
Dec 5, 2025
Merged

refactor(comment): Port away from deprecated event comment constant#56076
nickvergessen merged 1 commit into
masterfrom
carl/cleanup-comment

Conversation

@CarlSchwan

@CarlSchwanCarlSchwan commented Oct 29, 2025

Copy link
Copy Markdown
Member

Summary

Create new events to replace deprecated CommentsEvent constant and use them when creating CommentsEvents.

On the listener side, we can't yet use these events as deck still send the old events.

Also fixes some issues reported by psalm level 3 on the comment app.

TODO

  • ...

Checklist

@CarlSchwanCarlSchwan added this to the Nextcloud 33 milestone Oct 29, 2025
@CarlSchwanCarlSchwan self-assigned this Oct 29, 2025
@CarlSchwanCarlSchwan added 2. developing Work in progress technical debt 🧱 🤔🚀 labels Oct 29, 2025
@CarlSchwan
CarlSchwanforce-pushed the carl/cleanup-comment branch 2 times, most recently from ebdab58 to 6ec7466CompareOctober 29, 2025 10:22
@CarlSchwanCarlSchwan added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Nov 24, 2025
@CarlSchwan
CarlSchwan marked this pull request as ready for review November 24, 2025 16:27
@CarlSchwan
CarlSchwan requested review from a team and nickvergessen as code ownersNovember 24, 2025 16:27
@CarlSchwan
CarlSchwan requested review from Altahrim, leftybournes, salmart-dev and yemkareems and removed request for a teamNovember 24, 2025 16:27
Comment threadlib/public/Comments/CommentsEvent.php Outdated
Comment threadlib/public/Comments/CommentsEvent.php
Create new events to replace deprecated CommentsEvent constant and use
them when creating CommentsEvents.
On the listener side, we can't yet use these events as deck still send
the old events.
Also fixes some issues reported by psalm level 3 on the comment app.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
Comment threadlib/public/Comments/CommentsEvent.php
@nickvergessen
nickvergessen merged commit 594d220 into masterDec 5, 2025
187 of 189 checks passed
@nickvergessen
nickvergessen deleted the carl/cleanup-comment branch December 5, 2025 10:38
@nickvergessennickvergessen added the pending documentation This pull request needs an associated documentation update label Dec 5, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Jan 6, 2026
@susnux

Copy link
Copy Markdown
Contributor

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

Labels

3. to reviewWaiting for reviewspending documentationThis pull request needs an associated documentation updatetechnical debt🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@CarlSchwan@susnux@nickvergessen@ChristophWurst@tobiasKaminsky