-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Move comments event handler to use proper event dispatcher
Signed-off-by: Julius Härtl <jus@bitgrid.net>
- Loading branch information
1 parent
250bb12
commit 6a16461
Showing
7 changed files
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 27 additions & 6 deletions
33
apps/comments/lib/EventHandler.php → ...ts/lib/Listener/CommentsEventListener.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,13 @@ | |
* Interface ICommentsEventHandler | ||
* | ||
* @since 11.0.0 | ||
* @depreacted 30.0.0 Register a listener for the CommentsEvent through the IEventDispatcher | ||
*/ | ||
interface ICommentsEventHandler { | ||
Check failure on line 14 in lib/public/Comments/ICommentsEventHandler.php GitHub Actions / static-code-analysis-ocpInvalidDocblock
|
||
/** | ||
* @param CommentsEvent $event | ||
* @since 11.0.0 | ||
* @depreacted 30.0.0 Register a listener for the CommentsEvent through the IEventDispatcher | ||
*/ | ||
public function handle(CommentsEvent $event); | ||
Check failure on line 20 in lib/public/Comments/ICommentsEventHandler.php GitHub Actions / static-code-analysis-ocpInvalidDocblock
|
||
} |