Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Push — improve-route-duplicity-detect... ( 2e6948 )
by Pedro
36:42 queued 21:43
created
src/app/Console/Commands/AddCustomRouteContent.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.