@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | return 1; |
129 | 129 | } |
130 | 130 | if (!$storage instanceof INotifyStorage) { |
131 | - $output->writeln('<error>Mount of type "' . $mount->getBackend()->getText() . '" does not support active update notifications</error>'); |
|
131 | + $output->writeln('<error>Mount of type "'.$mount->getBackend()->getText().'" does not support active update notifications</error>'); |
|
132 | 132 | return 1; |
133 | 133 | } |
134 | 134 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | $path = trim($input->getOption('path'), '/'); |
138 | 138 | $notifyHandler = $storage->notify($path); |
139 | 139 | $this->selfTest($storage, $notifyHandler, $verbose, $output); |
140 | - $notifyHandler->listen(function (IChange $change) use ($mount, $verbose, $output) { |
|
140 | + $notifyHandler->listen(function(IChange $change) use ($mount, $verbose, $output) { |
|
141 | 141 | if ($verbose) { |
142 | 142 | $this->logUpdate($change, $output); |
143 | 143 | } |
@@ -168,14 +168,14 @@ discard block |
||
168 | 168 | $storageIds = $this->getStorageIds($mountId); |
169 | 169 | } |
170 | 170 | if (count($storageIds) === 0) { |
171 | - throw new StorageNotAvailableException('No storages found by mount ID ' . $mountId); |
|
171 | + throw new StorageNotAvailableException('No storages found by mount ID '.$mountId); |
|
172 | 172 | } |
173 | 173 | $storageIds = array_map('intval', $storageIds); |
174 | 174 | |
175 | 175 | $result = $this->updateParent($storageIds, $parent); |
176 | 176 | if ($result === 0) { |
177 | 177 | //TODO: Find existing parent further up the tree in the database and register that folder instead. |
178 | - $this->logger->info('Failed updating parent for "' . $path . '" while trying to register change. It may not exist in the filecache.'); |
|
178 | + $this->logger->info('Failed updating parent for "'.$path.'" while trying to register change. It may not exist in the filecache.'); |
|
179 | 179 | } |
180 | 180 | } |
181 | 181 | |
@@ -197,9 +197,9 @@ discard block |
||
197 | 197 | return; |
198 | 198 | } |
199 | 199 | |
200 | - $text .= ' ' . $change->getPath(); |
|
200 | + $text .= ' '.$change->getPath(); |
|
201 | 201 | if ($change instanceof IRenameChange) { |
202 | - $text .= ' to ' . $change->getTargetPath(); |
|
202 | + $text .= ' to '.$change->getTargetPath(); |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | $output->writeln($text); |