Passed
Push — master ( aeb732...da2c88 )
by Joas
16:04 queued 11s
created
apps/user_status/lib/Controller/UserStatusController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 			$status = $this->service->setStatus($this->userId, $statusType, null, true);
99 99
 			return new DataResponse($this->formatStatus($status));
100 100
 		} catch (InvalidStatusTypeException $ex) {
101
-			$this->logger->debug('New user-status for "' . $this->userId . '" was rejected due to an invalid status type "' . $statusType . '"');
101
+			$this->logger->debug('New user-status for "'.$this->userId.'" was rejected due to an invalid status type "'.$statusType.'"');
102 102
 			throw new OCSBadRequestException($ex->getMessage(), $ex);
103 103
 		}
104 104
 	}
@@ -117,10 +117,10 @@  discard block
 block discarded – undo
117 117
 			$status = $this->service->setPredefinedMessage($this->userId, $messageId, $clearAt);
118 118
 			return new DataResponse($this->formatStatus($status));
119 119
 		} catch (InvalidClearAtException $ex) {
120
-			$this->logger->debug('New user-status for "' . $this->userId . '" was rejected due to an invalid clearAt value "' . $clearAt . '"');
120
+			$this->logger->debug('New user-status for "'.$this->userId.'" was rejected due to an invalid clearAt value "'.$clearAt.'"');
121 121
 			throw new OCSBadRequestException($ex->getMessage(), $ex);
122 122
 		} catch (InvalidMessageIdException $ex) {
123
-			$this->logger->debug('New user-status for "' . $this->userId . '" was rejected due to an invalid message-id "' . $messageId . '"');
123
+			$this->logger->debug('New user-status for "'.$this->userId.'" was rejected due to an invalid message-id "'.$messageId.'"');
124 124
 			throw new OCSBadRequestException($ex->getMessage(), $ex);
125 125
 		}
126 126
 	}
@@ -146,13 +146,13 @@  discard block
 block discarded – undo
146 146
 			}
147 147
 			return new DataResponse($this->formatStatus($status));
148 148
 		} catch (InvalidClearAtException $ex) {
149
-			$this->logger->debug('New user-status for "' . $this->userId . '" was rejected due to an invalid clearAt value "' . $clearAt . '"');
149
+			$this->logger->debug('New user-status for "'.$this->userId.'" was rejected due to an invalid clearAt value "'.$clearAt.'"');
150 150
 			throw new OCSBadRequestException($ex->getMessage(), $ex);
151 151
 		} catch (InvalidStatusIconException $ex) {
152
-			$this->logger->debug('New user-status for "' . $this->userId . '" was rejected due to an invalid icon value "' . $statusIcon . '"');
152
+			$this->logger->debug('New user-status for "'.$this->userId.'" was rejected due to an invalid icon value "'.$statusIcon.'"');
153 153
 			throw new OCSBadRequestException($ex->getMessage(), $ex);
154 154
 		} catch (StatusMessageTooLongException $ex) {
155
-			$this->logger->debug('New user-status for "' . $this->userId . '" was rejected due to a too long status message.');
155
+			$this->logger->debug('New user-status for "'.$this->userId.'" was rejected due to a too long status message.');
156 156
 			throw new OCSBadRequestException($ex->getMessage(), $ex);
157 157
 		}
158 158
 	}
Please login to merge, or discard this patch.