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 ( d3e38f...02d089 )
by Pedro
11:15
created
src/app/Console/Commands/AddCustomRouteContent.php 1 patch
Spacing   +3 added lines, -3 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
                 return 1;
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     private function cleanContentArray(array $content)
100 100
     {
101
-        return array_filter(array_map(function ($line) {
101
+        return array_filter(array_map(function($line) {
102 102
             $lineText = trim($line);
103 103
             if ($lineText === '' ||
104 104
                 $lineText === '\n' ||
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     private function getLastLineNumberThatContains($needle, $haystack)
133 133
     {
134
-        $matchingLines = array_filter($haystack, function ($k) use ($needle) {
134
+        $matchingLines = array_filter($haystack, function($k) use ($needle) {
135 135
             return strpos($k, $needle) !== false;
136 136
         });
137 137
 
Please login to merge, or discard this patch.