diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2020-12-19 05:15:57 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-21 11:39:35 +0300 |
commit | 49c9de88baebb64b58cf7b92b06fea6ead306d4d (patch) | |
tree | 0922652f65f526217ea7f2cad9641e41e2049793 /lib/Listener | |
parent | fb54fbabf85e35122bc18a49987990fdc4163cd5 (diff) |
Bump nextcloud/coding-standard from 0.3.0 to 0.4.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.4.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Listener')
-rw-r--r-- | lib/Listener/FlagRepliedMessageListener.php | 2 | ||||
-rw-r--r-- | lib/Listener/NewMessageClassificationListener.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Listener/FlagRepliedMessageListener.php b/lib/Listener/FlagRepliedMessageListener.php index d1a3dd57a..823732a02 100644 --- a/lib/Listener/FlagRepliedMessageListener.php +++ b/lib/Listener/FlagRepliedMessageListener.php @@ -70,7 +70,7 @@ class FlagRepliedMessageListener implements IEventListener { $mailbox = $this->mailboxMapper->findById( $event->getRepliedMessageData()->getMessage()->getMailboxId() ); - } catch (DoesNotExistException|ServiceException $e) { + } catch (DoesNotExistException | ServiceException $e) { $this->logger->warning('Could not flag the message in reply to: ' . $e, [ 'exception' => $e, ]); diff --git a/lib/Listener/NewMessageClassificationListener.php b/lib/Listener/NewMessageClassificationListener.php index 42edf1a30..365251883 100644 --- a/lib/Listener/NewMessageClassificationListener.php +++ b/lib/Listener/NewMessageClassificationListener.php @@ -79,7 +79,7 @@ class NewMessageClassificationListener implements IEventListener { $message->setFlagImportant(true); } } - } catch (Throwable|ServiceException $e) { + } catch (Throwable | ServiceException $e) { // TODO: remove Throwable catch once https://github.com/RubixML/RubixML/pull/69 landed here $this->logger->error('Could not classify incoming message importance: ' . $e->getMessage(), [ 'exception' => $e, |