@@ -156,12 +156,12 @@ |
||
| 156 | 156 | $output = $output instanceof ConsoleOutputInterface |
| 157 | 157 | ? $output->getErrorOutput() |
| 158 | 158 | : $output; |
| 159 | - $output->writeln('<error>Unrecognized configuration keys: ' . \implode(', ', $unrecognizedKeys) . "</>\n"); |
|
| 159 | + $output->writeln('<error>Unrecognized configuration keys: '.\implode(', ', $unrecognizedKeys)."</>\n"); |
|
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | if ([] === $config->getDirectoriesToScan()) { |
| 163 | 163 | throw new InvalidArgumentException( |
| 164 | - 'Provide the directories you want to scan as arguments, ' . |
|
| 164 | + 'Provide the directories you want to scan as arguments, '. |
|
| 165 | 165 | 'or configure them under "directoriesToScan" in your churn.yml file.' |
| 166 | 166 | ); |
| 167 | 167 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | public function __construct(array $fileExtensions, array $filesToIgnore, string $basePath) |
| 47 | 47 | { |
| 48 | 48 | $this->fileExtensions = $fileExtensions; |
| 49 | - $this->filters = \array_map(function (string $fileToIgnore): string { |
|
| 49 | + $this->filters = \array_map(function(string $fileToIgnore): string { |
|
| 50 | 50 | return $this->patternToRegex($fileToIgnore); |
| 51 | 51 | }, $filesToIgnore); |
| 52 | 52 | $this->basePath = $basePath; |