Completed
Push — master ( d25011...6cd78d )
by Maxence
43s queued 15s
created
lib/Command/DocumentStatus.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,14 +128,14 @@  discard block
 block discarded – undo
128 128
 
129 129
 
130 130
 		if ($json) {
131
-			echo json_encode($index, JSON_PRETTY_PRINT) . "\n";
131
+			echo json_encode($index, JSON_PRETTY_PRINT)."\n";
132 132
 
133 133
 			return 0;
134 134
 		}
135 135
 
136 136
 		$status = $this->statusConvertToString($index->getStatus());
137 137
 		$desc = $this->statusAvailable[$status];
138
-		$output->writeln('current status: <info>' . $status . '</info> (' . $desc . ')');
138
+		$output->writeln('current status: <info>'.$status.'</info> ('.$desc.')');
139 139
 
140 140
 		return 0;
141 141
 	}
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 				return IIndex::INDEX_FAILED;
197 197
 		}
198 198
 
199
-		throw new Exception("Specify a valid status: " . implode(', ', array_keys($this->statusAvailable)));
199
+		throw new Exception("Specify a valid status: ".implode(', ', array_keys($this->statusAvailable)));
200 200
 	}
201 201
 
202 202
 }
Please login to merge, or discard this patch.
lib/Command/Check.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 		}
106 106
 
107 107
 		$output->writeln(
108
-			'Full text search ' . $this->configService->getAppValue('installed_version')
108
+			'Full text search '.$this->configService->getAppValue('installed_version')
109 109
 		);
110 110
 		$output->writeln(' ');
111 111
 
@@ -181,12 +181,12 @@  discard block
 block discarded – undo
181 181
 		}
182 182
 
183 183
 		$select = $this->configService->getAppValue(ConfigService::SEARCH_PLATFORM);
184
-		$output->writeln('- Search Platform:' . (($select === '') ? ' (none selected)' : ''));
184
+		$output->writeln('- Search Platform:'.(($select === '') ? ' (none selected)' : ''));
185 185
 
186 186
 		foreach ($platforms as $platformWrapper) {
187 187
 			$platform = $platformWrapper->getPlatform();
188 188
 			$selected = ($platformWrapper->getClass() === $select) ? '(Selected)' : '';
189
-			$output->writeln($platform->getName() . ' ' . $platformWrapper->getVersion() . ' ' . $selected);
189
+			$output->writeln($platform->getName().' '.$platformWrapper->getVersion().' '.$selected);
190 190
 			try {
191 191
 				echo json_encode($platform->getConfiguration(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
192 192
 			} catch (Exception $e) {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
 		foreach ($providers as $providerWrapper) {
219 219
 			$provider = $providerWrapper->getProvider();
220
-			$output->writeln($provider->getName() . ' ' . $providerWrapper->getVersion());
220
+			$output->writeln($provider->getName().' '.$providerWrapper->getVersion());
221 221
 			echo json_encode($provider->getConfiguration(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
222 222
 			$output->writeln('');
223 223
 		}
Please login to merge, or discard this patch.
lib/Search/UnifiedSearchProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
 		foreach ($searchResult as $ftsSearch) {
185 185
 			foreach ($ftsSearch->getDocuments() as $document) {
186 186
 				$excerpts = $document->getExcerpts();
187
-				$title = '(' . $document->getProviderId() . ') ';
187
+				$title = '('.$document->getProviderId().') ';
188 188
 				if (empty($excerpts)) {
189 189
 					$title .= $document->getTitle();
190 190
 					$subline = '';
Please login to merge, or discard this patch.
lib/Service/SearchService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
 			$circleManager = OC::$server->get(CirclesManager::class);
230 230
 			$circleManager->startsession();
231 231
 			$circleIds = array_map(
232
-				function (Circle $circle): string {
232
+				function(Circle $circle): string {
233 233
 					return $circle->getSingleId();
234 234
 				}, $circleManager->getCircles()
235 235
 			);
Please login to merge, or discard this patch.
lib/AppInfo/Application.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 use Psr\Container\ContainerInterface;
52 52
 use Throwable;
53 53
 
54
-require_once __DIR__ . '/../../vendor/autoload.php';
54
+require_once __DIR__.'/../../vendor/autoload.php';
55 55
 
56 56
 
57 57
 class Application extends App implements IBootstrap {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 		return [
140 140
 			'id'    => self::APP_ID,
141 141
 			'order' => 5,
142
-			'href'  => $urlGen->linkToRoute(self::APP_ID . '.Navigation.navigate'),
142
+			'href'  => $urlGen->linkToRoute(self::APP_ID.'.Navigation.navigate'),
143 143
 			'icon'  => $urlGen->imagePath(self::APP_ID, 'fulltextsearch.svg'),
144 144
 			'name'  => 'Search'
145 145
 		];
Please login to merge, or discard this patch.
lib/Service/IndexService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
 		IFullTextSearchPlatform $platform, IFullTextSearchProvider $provider, string $userId,
156 156
 		IndexOptions $options
157 157
 	) {
158
-		$this->updateRunnerAction('generateIndex' . $provider->getName());
158
+		$this->updateRunnerAction('generateIndex'.$provider->getName());
159 159
 		$this->updateRunnerInfoArray(
160 160
 			[
161 161
 				'userId' => $userId,
Please login to merge, or discard this patch.
lib/Service/CollectionService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 		}
128 128
 
129 129
 		return array_map(
130
-			function (Index $index): array {
130
+			function(Index $index): array {
131 131
 				return $index->asSitemap($this->urlGenerator);
132 132
 			},
133 133
 			$this->indexesRequest->getQueuedIndexes($collection, false, $length)
Please login to merge, or discard this patch.
lib/Command/CollectionList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,10 +74,10 @@
 block discarded – undo
74 74
 	 */
75 75
 	protected function execute(InputInterface $input, OutputInterface $output) {
76 76
 		$collections = $this->collectionService->getCollections();
77
-		$output->writeln('found ' . sizeof($collections) . ' collection(s)');
77
+		$output->writeln('found '.sizeof($collections).' collection(s)');
78 78
 
79 79
 		foreach ($this->collectionService->getCollections() as $collection) {
80
-			$output->writeln('- ' . $collection);
80
+			$output->writeln('- '.$collection);
81 81
 		}
82 82
 
83 83
 		return 0;
Please login to merge, or discard this patch.
lib/Command/CollectionInit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
 
119 119
 		$this->cliService->createPanel(
120 120
 			'collection', [
121
-							'┌─ Collection ' . $collection . ' ────',
121
+							'┌─ Collection '.$collection.' ────',
122 122
 							'│ ProviderId, UserId: <info>%providerId%</info> / <info>%userId%</info>',
123 123
 							'│ Chunk: <info>%chunkCurr:3s%</info>/<info>%chunkTotal%</info>',
124 124
 							'│ Document: <info>%documentCurr:6s%</info>/<info>%documentChunk%</info>',
Please login to merge, or discard this patch.