We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | { |
| 46 | 46 | $routeFilePath = base_path($this->option('route-file')); |
| 47 | 47 | |
| 48 | - if (! file_exists($routeFilePath)) { |
|
| 48 | + if (!file_exists($routeFilePath)) { |
|
| 49 | 49 | if ($routeFilePath !== base_path($this->backpackCustomRouteFile)) { |
| 50 | 50 | $this->info('The route file <fg=blue>'.$routeFilePath.'</> does not exist. Please create it first.'); |
| 51 | 51 | return 1; |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | |
| 113 | 113 | private function cleanContentArray(array $content) |
| 114 | 114 | { |
| 115 | - return array_filter(array_map(function ($line) { |
|
| 115 | + return array_filter(array_map(function($line) { |
|
| 116 | 116 | $lineText = trim($line); |
| 117 | 117 | if ($lineText === '' || |
| 118 | 118 | $lineText === '\n' || |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | */ |
| 158 | 158 | private function getLastLineNumberThatContains($needle, $haystack) |
| 159 | 159 | { |
| 160 | - $matchingLines = array_filter($haystack, function ($k) use ($needle) { |
|
| 160 | + $matchingLines = array_filter($haystack, function($k) use ($needle) { |
|
| 161 | 161 | return strpos($k, $needle) !== false; |
| 162 | 162 | }); |
| 163 | 163 | |