Completed
Pull Request — master (#87)
by Robin
01:37
created
lib/Service/ConfigService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 	 */
242 242
 	public function setDocumentIndexOption(FilesDocument $document, string $option) {
243 243
 		$document->getIndex()
244
-				 ->addOption('_' . $option, (string)$this->getAppValue($option));
244
+				 ->addOption('_'.$option, (string)$this->getAppValue($option));
245 245
 	}
246 246
 
247 247
 
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 	 */
302 302
 	public function isPathExcluded($filePath): bool {
303 303
 		$excludedPaths = $this->getExcludedPaths($filePath);
304
-		foreach($excludedPaths as $excludedPath) {
304
+		foreach ($excludedPaths as $excludedPath) {
305 305
 			if ($this->isPathMatch($filePath, $excludedPath)) {
306 306
 				return true;
307 307
 			}
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 		}
336 336
 
337 337
 		// check regex match
338
-		$regexPattern = '/' . str_replace('/', '\/', $excludePath) . '/';
338
+		$regexPattern = '/'.str_replace('/', '\/', $excludePath).'/';
339 339
 		if (preg_match($regexPattern, $filePath)) {
340 340
 			return true;
341 341
 		}
Please login to merge, or discard this patch.