@@ -238,18 +238,18 @@ |
||
238 | 238 | $preAction = $tick->getAction(); |
239 | 239 | |
240 | 240 | if ($preAction !== '') { |
241 | - $preActionTotal = $tick->getInfoFloat($preAction . 'Total', 0); |
|
242 | - $preActionStart = $tick->getInfoFloat($preAction . 'Init', 0); |
|
241 | + $preActionTotal = $tick->getInfoFloat($preAction.'Total', 0); |
|
242 | + $preActionStart = $tick->getInfoFloat($preAction.'Init', 0); |
|
243 | 243 | |
244 | 244 | if ($preActionStart > 0) { |
245 | 245 | |
246 | 246 | $preActionTotal += ($now - $preActionStart); |
247 | - $tick->setInfoFloat($preAction . 'Total', $preActionTotal); |
|
248 | - $tick->unsetInfo($preAction . 'Init'); |
|
247 | + $tick->setInfoFloat($preAction.'Total', $preActionTotal); |
|
248 | + $tick->unsetInfo($preAction.'Init'); |
|
249 | 249 | } |
250 | 250 | } |
251 | 251 | $tick->setAction($action) |
252 | - ->setInfoFloat($action . 'Init', $now); |
|
252 | + ->setInfoFloat($action.'Init', $now); |
|
253 | 253 | } |
254 | 254 | |
255 | 255 |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | $platform = \OC::$server->query((string)$selected->getClass()); |
173 | 173 | if (!($platform instanceof IFullTextSearchPlatform)) { |
174 | 174 | throw new PlatformIsNotCompatibleException( |
175 | - $selected->getClass() . ' is not a compatible FullTextSearchPlatform' |
|
175 | + $selected->getClass().' is not a compatible FullTextSearchPlatform' |
|
176 | 176 | ); |
177 | 177 | } |
178 | 178 | |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | } |
205 | 205 | |
206 | 206 | throw new PlatformDoesNotExistException( |
207 | - 'FullTextSearchPlatform ' . $selected . ' is not available' |
|
207 | + 'FullTextSearchPlatform '.$selected.' is not available' |
|
208 | 208 | ); |
209 | 209 | } |
210 | 210 |
@@ -31,9 +31,9 @@ |
||
31 | 31 | namespace OCA\FullTextSearch\AppInfo; |
32 | 32 | |
33 | 33 | |
34 | -$composerDir = __DIR__ . '/../vendor/'; |
|
34 | +$composerDir = __DIR__.'/../vendor/'; |
|
35 | 35 | |
36 | -if (is_dir($composerDir) && file_exists($composerDir . 'autoload.php')) { |
|
37 | - require_once $composerDir . 'autoload.php'; |
|
36 | +if (is_dir($composerDir) && file_exists($composerDir.'autoload.php')) { |
|
37 | + require_once $composerDir.'autoload.php'; |
|
38 | 38 | } |
39 | 39 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | use OCP\AppFramework\QueryException; |
35 | 35 | |
36 | 36 | |
37 | -require_once __DIR__ . '/autoload.php'; |
|
37 | +require_once __DIR__.'/autoload.php'; |
|
38 | 38 | |
39 | 39 | try { |
40 | 40 | $app = new Application(); |