Passed
Push — master ( d15179...9bdf0e )
by Robin
16:09 queued 04:38
created
apps/files_external/lib/Command/Notify.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 			return 1;
136 136
 		}
137 137
 		if (!$storage instanceof INotifyStorage) {
138
-			$output->writeln('<error>Mount of type "' . $mount->getBackend()->getText() . '" does not support active update notifications</error>');
138
+			$output->writeln('<error>Mount of type "'.$mount->getBackend()->getText().'" does not support active update notifications</error>');
139 139
 			return 1;
140 140
 		}
141 141
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 			$this->selfTest($storage, $notifyHandler, $verbose, $output);
149 149
 		}
150 150
 
151
-		$notifyHandler->listen(function (IChange $change) use ($mount, $verbose, $output) {
151
+		$notifyHandler->listen(function(IChange $change) use ($mount, $verbose, $output) {
152 152
 			if ($verbose) {
153 153
 				$this->logUpdate($change, $output);
154 154
 			}
@@ -180,14 +180,14 @@  discard block
 block discarded – undo
180 180
 			$storageIds = $this->getStorageIds($mountId);
181 181
 		}
182 182
 		if (count($storageIds) === 0) {
183
-			throw new StorageNotAvailableException('No storages found by mount ID ' . $mountId);
183
+			throw new StorageNotAvailableException('No storages found by mount ID '.$mountId);
184 184
 		}
185 185
 		$storageIds = array_map('intval', $storageIds);
186 186
 
187 187
 		$result = $this->updateParent($storageIds, $parent);
188 188
 		if ($result === 0) {
189 189
 			//TODO: Find existing parent further up the tree in the database and register that folder instead.
190
-			$this->logger->info('Failed updating parent for "' . $path . '" while trying to register change. It may not exist in the filecache.');
190
+			$this->logger->info('Failed updating parent for "'.$path.'" while trying to register change. It may not exist in the filecache.');
191 191
 		}
192 192
 	}
193 193
 
@@ -209,9 +209,9 @@  discard block
 block discarded – undo
209 209
 				return;
210 210
 		}
211 211
 
212
-		$text .= ' ' . $change->getPath();
212
+		$text .= ' '.$change->getPath();
213 213
 		if ($change instanceof IRenameChange) {
214
-			$text .= ' to ' . $change->getTargetPath();
214
+			$text .= ' to '.$change->getTargetPath();
215 215
 		}
216 216
 
217 217
 		$output->writeln($text);
Please login to merge, or discard this patch.