@@ -241,7 +241,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |