@@ -203,7 +203,7 @@ |
||
203 | 203 | $cursor->closeCursor(); |
204 | 204 | |
205 | 205 | if ($data === false) { |
206 | - throw new CircleDoesNotExistException($this->l10n->t('Circle not found ' . $circleUniqueId)); |
|
206 | + throw new CircleDoesNotExistException($this->l10n->t('Circle not found '.$circleUniqueId)); |
|
207 | 207 | } |
208 | 208 | |
209 | 209 | $circle = $this->parseCirclesSelectSql($data); |
@@ -189,7 +189,7 @@ |
||
189 | 189 | $loop++; |
190 | 190 | if ($loop > 10 || in_array($instance, $knownInstance)) { |
191 | 191 | throw new CircleNotFoundException( |
192 | - 'circle not found after browsing ' . implode(', ', $knownInstance) |
|
192 | + 'circle not found after browsing '.implode(', ', $knownInstance) |
|
193 | 193 | ); |
194 | 194 | } |
195 | 195 | $knownInstance[] = $instance; |
@@ -105,7 +105,7 @@ |
||
105 | 105 | $expr = $qb->expr(); |
106 | 106 | |
107 | 107 | $this->limitToShareType($qb, self::SHARE_TYPE); |
108 | - $qb->andWhere($expr->isNull($this->default_select_alias . '.parent')); |
|
108 | + $qb->andWhere($expr->isNull($this->default_select_alias.'.parent')); |
|
109 | 109 | |
110 | 110 | $shares = []; |
111 | 111 | $cursor = $qb->execute(); |
@@ -110,7 +110,7 @@ |
||
110 | 110 | /** @var FederatedShare $share */ |
111 | 111 | $share = $data->gObj('federatedShare', FederatedShare::class); |
112 | 112 | if ($share->getLockStatus() === ItemLock::STATUS_INSTANCE_LOCKED) { |
113 | - throw new FederatedShareAlreadyLockedException('item already locked by ' . $share->getInstance()); |
|
113 | + throw new FederatedShareAlreadyLockedException('item already locked by '.$share->getInstance()); |
|
114 | 114 | } |
115 | 115 | |
116 | 116 | return $share; |
@@ -125,7 +125,7 @@ |
||
125 | 125 | } catch (FederatedItemException $e) { |
126 | 126 | if ($input->getOption('status-code')) { |
127 | 127 | throw new FederatedItemException( |
128 | - ' [' . get_class($e) . ', ' . $e->getStatus() . ']' . "\n" . $e->getMessage() |
|
128 | + ' ['.get_class($e).', '.$e->getStatus().']'."\n".$e->getMessage() |
|
129 | 129 | ); |
130 | 130 | } |
131 | 131 |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | } catch (FederatedItemException $e) { |
140 | 140 | if ($input->getOption('status-code')) { |
141 | 141 | throw new FederatedItemException( |
142 | - ' [' . get_class($e) . ', ' . $e->getStatus() . ']' . "\n" . $e->getMessage() |
|
142 | + ' ['.get_class($e).', '.$e->getStatus().']'."\n".$e->getMessage() |
|
143 | 143 | ); |
144 | 144 | } |
145 | 145 | |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | $instance = $host; |
198 | 198 | } |
199 | 199 | |
200 | - $result[] = $user['userid']['value'] . ' <info>@' . $host . '</info>'; |
|
200 | + $result[] = $user['userid']['value'].' <info>@'.$host.'</info>'; |
|
201 | 201 | } |
202 | 202 | |
203 | 203 | // if ($userId === '') { |
@@ -194,7 +194,7 @@ |
||
194 | 194 | throw new OCSException('works only from local instance', 404); |
195 | 195 | } |
196 | 196 | |
197 | - $userId = $currentUser->getUserId() . '/' . $userId; |
|
197 | + $userId = $currentUser->getUserId().'/'.$userId; |
|
198 | 198 | } |
199 | 199 | |
200 | 200 | $federatedUser = $this->federatedUserService->generateFederatedUser($userId, $type); |
@@ -109,7 +109,7 @@ |
||
109 | 109 | * @return string |
110 | 110 | */ |
111 | 111 | protected function stripPath($path) { |
112 | - $prefix = '/' . $this->userId . '/files'; |
|
112 | + $prefix = '/'.$this->userId.'/files'; |
|
113 | 113 | |
114 | 114 | return rtrim(substr($path, strlen($prefix)), '/'); |
115 | 115 | } |
@@ -190,7 +190,7 @@ |
||
190 | 190 | return $this->mountPoint; |
191 | 191 | } |
192 | 192 | |
193 | - return '/' . $this->getInitiator()->getUserId() . '/files/' . ltrim($this->mountPoint, '/'); |
|
193 | + return '/'.$this->getInitiator()->getUserId().'/files/'.ltrim($this->mountPoint, '/'); |
|
194 | 194 | } |
195 | 195 | |
196 | 196 | /** |