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
Pull Request — master (#3843)
by
unknown
11:12
created
src/app/Console/Commands/RequireDevTools.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         // Check if devtools is installed
57 57
         $tries = 2;
58
-        while (! file_exists('vendor/backpack/devtools/src/Console/Commands/InstallDevTools.php')) {
58
+        while (!file_exists('vendor/backpack/devtools/src/Console/Commands/InstallDevTools.php')) {
59 59
             // Abort at nth try
60 60
             if (--$tries === 0) {
61 61
                 return $this->error(' DevTools was not installed.');
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         $this->info(' Now running the DevTools installation command.');
92 92
 
93 93
         // manually include the command in the run-time
94
-        if (! class_exists(\Backpack\DevTools\Console\Commands\InstallDevTools::class)) {
94
+        if (!class_exists(\Backpack\DevTools\Console\Commands\InstallDevTools::class)) {
95 95
             include base_path('vendor/backpack/devtools/src/Console/Commands/InstallDevTools.php');
96 96
         }
97 97
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     {
103 103
         $details = null;
104 104
         $process = new Process(['composer', 'config', 'repositories.backpack/devtools']);
105
-        $process->run(function ($type, $buffer) use (&$details) {
105
+        $process->run(function($type, $buffer) use (&$details) {
106 106
             if ($type !== Process::ERR && $buffer !== '') {
107 107
                 $details = json_decode($buffer);
108 108
             } else {
@@ -112,11 +112,11 @@  discard block
 block discarded – undo
112 112
         });
113 113
 
114 114
         // Create repositories
115
-        if (! $details) {
115
+        if (!$details) {
116 116
             $this->info(' Creating repositories entry in composer.json');
117 117
 
118 118
             $process = new Process(['composer', 'config', 'repositories.backpack/devtools', 'composer', 'https://repo.backpackforlaravel.com']);
119
-            $process->run(function ($type, $buffer) {
119
+            $process->run(function($type, $buffer) {
120 120
                 if ($type === Process::ERR) {
121 121
                     // Fallback
122 122
                     $composerJson = Str::of(File::get('composer.json'));
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         // Check if auth exists
151 151
         $details = null;
152 152
         $process = new Process(['composer', 'config', 'http-basic.backpackforlaravel.com']);
153
-        $process->run(function ($type, $buffer) use (&$details) {
153
+        $process->run(function($type, $buffer) use (&$details) {
154 154
             if ($type !== Process::ERR && $buffer !== '') {
155 155
                 $details = json_decode($buffer);
156 156
             } elseif (File::exists('auth.json')) {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
         });
161 161
 
162 162
         // Create an auth.json file
163
-        if (! $details) {
163
+        if (!$details) {
164 164
             $this->info(' Creating auth.json file with your authentication token');
165 165
 
166 166
             $this->line(' (Find your access token details on https://backpackforlaravel.com/user/tokens)');
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             $password = $this->ask('Access token password');
169 169
 
170 170
             $process = new Process(['composer', 'config', 'http-basic.backpackforlaravel.com', $username, $password]);
171
-            $process->run(function ($type, $buffer) use ($username, $password) {
171
+            $process->run(function($type, $buffer) use ($username, $password) {
172 172
                 if ($type === Process::ERR) {
173 173
                     // Fallback
174 174
                     $authFile = [
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 
183 183
                     if (File::exists('auth.json')) {
184 184
                         $currentFile = json_decode(File::get('auth.json'), true);
185
-                        if (! ($currentFile['http-basic']['backpackforlaravel.com'] ?? false)) {
185
+                        if (!($currentFile['http-basic']['backpackforlaravel.com'] ?? false)) {
186 186
                             $authFile = array_merge_recursive($authFile, $currentFile);
187 187
                         }
188 188
                     }
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
         // Require package
201 201
         $process = new Process(['composer', 'require', '--dev', '--with-all-dependencies', 'backpack/devtools']);
202 202
         $process->setTimeout(300);
203
-        $process->run(function ($type, $buffer) {
203
+        $process->run(function($type, $buffer) {
204 204
             $this->progressBar->advance();
205 205
         });
206 206
     }
Please login to merge, or discard this patch.
src/app/Console/Commands/Install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $this->info(' Backpack installation finished.');
60 60
 
61 61
         // DevTools
62
-        if (! file_exists('vendor/backpack/devtools')) {
62
+        if (!file_exists('vendor/backpack/devtools')) {
63 63
             $this->box('Did you know about Backpack DevTools?');
64 64
             $this->note('DevTools adds a dead-simple web interface to easily generate Models, Migrations, Seeders, Factories, CRUDs, etc.');
65 65
             $this->note('But it\'s a paid tool. For more info, payment and access, please visit https://backpackforlaravel.com/products/devtools');
Please login to merge, or discard this patch.