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 — match-route-file-end ( 5514e9...da026b )
by Pedro
13:50
created
src/app/Console/Commands/AddCustomRouteContent.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         $routeFilePath = base_path($this->option('route-file'));
45 45
 
46
-        if (! file_exists($routeFilePath)) {
46
+        if (!file_exists($routeFilePath)) {
47 47
             if ($routeFilePath !== base_path($this->backpackCustomRouteFile)) {
48 48
                 $this->info('The route file <fg=blue>'.$routeFilePath.'</> does not exist. Please create it first.');
49 49
 
@@ -111,11 +111,11 @@  discard block
 block discarded – undo
111 111
 
112 112
             // push all other elements one line down creating space for the new code
113 113
             for ($i = count($originalContent) - 1; $i > $lastLine; $i--) {
114
-                $originalContent[$i+1] = $originalContent[$i];
114
+                $originalContent[$i + 1] = $originalContent[$i];
115 115
             }
116 116
             
117 117
             // merge the second part of the lastLineContent starting from the lastElement
118
-            $originalContent[$lastLine+1] = implode(';', array_slice($lastLineContent, $lastElement));
118
+            $originalContent[$lastLine + 1] = implode(';', array_slice($lastLineContent, $lastElement));
119 119
             $lastLine++;
120 120
         }
121 121
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
     private function cleanContentArray(array $content)
144 144
     {
145
-        return array_filter(array_map(function ($line) {
145
+        return array_filter(array_map(function($line) {
146 146
             $lineText = trim($line);
147 147
             if ($lineText === '' ||
148 148
                 $lineText === '\n' ||
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      */
176 176
     private function getLastLineNumberThatContains($needle, $haystack)
177 177
     {
178
-        $matchingLines = array_filter($haystack, function ($k) use ($needle) {
178
+        $matchingLines = array_filter($haystack, function($k) use ($needle) {
179 179
             return strpos($k, $needle) !== false;
180 180
         });
181 181
 
Please login to merge, or discard this patch.