From f996153ed3f54069fcd84ca369a927d10a6944aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 4 Mar 2022 18:43:24 +0100 Subject: [PATCH] Mark all event listeners as `final` --- .../HourlyCleanUpCronjobExecuteChatCleanUpListener.class.php | 2 +- .../HourlyCleanUpCronjobExecuteTemproomListener.class.php | 2 +- .../event/listener/InfoCommandSuspensionsListener.class.php | 2 +- .../listener/RoomActionGetUsersModeratorListener.class.php | 2 +- .../lib/system/event/listener/RoomCanJoinBanListener.class.php | 2 +- .../event/listener/RoomCanJoinUserLimitListener.class.php | 2 +- .../system/event/listener/RoomCanSeeTemproomListener.class.php | 2 +- .../event/listener/RoomCanWritePubliclyMuteListener.class.php | 2 +- .../event/listener/RoomEditFormTemproomListener.class.php | 2 +- .../event/listener/RoomListPageTemproomListener.class.php | 2 +- .../event/listener/SuspensionListPageTemproomListener.class.php | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteChatCleanUpListener.class.php b/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteChatCleanUpListener.class.php index 122c680..6788643 100644 --- a/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteChatCleanUpListener.class.php +++ b/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteChatCleanUpListener.class.php @@ -23,7 +23,7 @@ /** * Vaporizes unneeded data. */ -class HourlyCleanUpCronjobExecuteChatCleanUpListener implements IParameterizedEventListener +final class HourlyCleanUpCronjobExecuteChatCleanUpListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteTemproomListener.class.php b/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteTemproomListener.class.php index d5f8df9..c8d67a3 100644 --- a/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteTemproomListener.class.php +++ b/files/lib/system/event/listener/HourlyCleanUpCronjobExecuteTemproomListener.class.php @@ -23,7 +23,7 @@ /** * Removes empty temporary rooms. */ -class HourlyCleanUpCronjobExecuteTemproomListener implements IParameterizedEventListener +final class HourlyCleanUpCronjobExecuteTemproomListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/InfoCommandSuspensionsListener.class.php b/files/lib/system/event/listener/InfoCommandSuspensionsListener.class.php index 18d270d..f4ad2bd 100644 --- a/files/lib/system/event/listener/InfoCommandSuspensionsListener.class.php +++ b/files/lib/system/event/listener/InfoCommandSuspensionsListener.class.php @@ -23,7 +23,7 @@ /** * Fetches information about the users suspensions */ -class InfoCommandSuspensionsListener implements IParameterizedEventListener +final class InfoCommandSuspensionsListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/RoomActionGetUsersModeratorListener.class.php b/files/lib/system/event/listener/RoomActionGetUsersModeratorListener.class.php index cd2a452..b8ca0fb 100644 --- a/files/lib/system/event/listener/RoomActionGetUsersModeratorListener.class.php +++ b/files/lib/system/event/listener/RoomActionGetUsersModeratorListener.class.php @@ -23,7 +23,7 @@ /** * Adds moderator permissions to the user object. */ -class RoomActionGetUsersModeratorListener implements IParameterizedEventListener +final class RoomActionGetUsersModeratorListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/RoomCanJoinBanListener.class.php b/files/lib/system/event/listener/RoomCanJoinBanListener.class.php index 0ea920d..4f4dd6a 100644 --- a/files/lib/system/event/listener/RoomCanJoinBanListener.class.php +++ b/files/lib/system/event/listener/RoomCanJoinBanListener.class.php @@ -24,7 +24,7 @@ /** * Denies access to banned users. */ -class RoomCanJoinBanListener implements IParameterizedEventListener +final class RoomCanJoinBanListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/RoomCanJoinUserLimitListener.class.php b/files/lib/system/event/listener/RoomCanJoinUserLimitListener.class.php index f821a59..acddcb1 100644 --- a/files/lib/system/event/listener/RoomCanJoinUserLimitListener.class.php +++ b/files/lib/system/event/listener/RoomCanJoinUserLimitListener.class.php @@ -24,7 +24,7 @@ /** * Denies access when room is full. */ -class RoomCanJoinUserLimitListener implements IParameterizedEventListener +final class RoomCanJoinUserLimitListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/RoomCanSeeTemproomListener.class.php b/files/lib/system/event/listener/RoomCanSeeTemproomListener.class.php index 780d2c6..8af027a 100644 --- a/files/lib/system/event/listener/RoomCanSeeTemproomListener.class.php +++ b/files/lib/system/event/listener/RoomCanSeeTemproomListener.class.php @@ -23,7 +23,7 @@ /** * Denies access to temporary rooms, unless invited. */ -class RoomCanSeeTemproomListener implements IParameterizedEventListener +final class RoomCanSeeTemproomListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/RoomCanWritePubliclyMuteListener.class.php b/files/lib/system/event/listener/RoomCanWritePubliclyMuteListener.class.php index 104ea2a..96af6d4 100644 --- a/files/lib/system/event/listener/RoomCanWritePubliclyMuteListener.class.php +++ b/files/lib/system/event/listener/RoomCanWritePubliclyMuteListener.class.php @@ -24,7 +24,7 @@ /** * Denies access to muted users. */ -class RoomCanWritePubliclyMuteListener implements IParameterizedEventListener +final class RoomCanWritePubliclyMuteListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/RoomEditFormTemproomListener.class.php b/files/lib/system/event/listener/RoomEditFormTemproomListener.class.php index eb8c85a..bc93254 100644 --- a/files/lib/system/event/listener/RoomEditFormTemproomListener.class.php +++ b/files/lib/system/event/listener/RoomEditFormTemproomListener.class.php @@ -21,7 +21,7 @@ /** * Disallow editing of temprooms in ACP. */ -class RoomEditFormTemproomListener implements IParameterizedEventListener +final class RoomEditFormTemproomListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/RoomListPageTemproomListener.class.php b/files/lib/system/event/listener/RoomListPageTemproomListener.class.php index b659e78..1e43797 100644 --- a/files/lib/system/event/listener/RoomListPageTemproomListener.class.php +++ b/files/lib/system/event/listener/RoomListPageTemproomListener.class.php @@ -20,7 +20,7 @@ /** * Hides temprooms in ACP. */ -class RoomListPageTemproomListener implements IParameterizedEventListener +final class RoomListPageTemproomListener implements IParameterizedEventListener { /** * @inheritDoc diff --git a/files/lib/system/event/listener/SuspensionListPageTemproomListener.class.php b/files/lib/system/event/listener/SuspensionListPageTemproomListener.class.php index 8b5d8f8..4cfa36e 100644 --- a/files/lib/system/event/listener/SuspensionListPageTemproomListener.class.php +++ b/files/lib/system/event/listener/SuspensionListPageTemproomListener.class.php @@ -21,7 +21,7 @@ /** * Hides temprooms in ACP. */ -class SuspensionListPageTemproomListener implements IParameterizedEventListener +final class SuspensionListPageTemproomListener implements IParameterizedEventListener { /** * @inheritDoc