We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | // Check if auth exists |
| 48 | 48 | $details = null; |
| 49 | 49 | $process = new Process(['composer', 'config', 'http-basic.backpackforlaravel.com']); |
| 50 | - $process->run(function ($type, $buffer) use (&$details) { |
|
| 50 | + $process->run(function($type, $buffer) use (&$details) { |
|
| 51 | 51 | if ($type !== Process::ERR && $buffer !== '') { |
| 52 | 52 | $details = json_decode($buffer); |
| 53 | 53 | } |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | }); |
| 56 | 56 | |
| 57 | 57 | // Create an auth.json file |
| 58 | - if (! $details) { |
|
| 58 | + if (!$details) { |
|
| 59 | 59 | $this->info(' Creating auth.json file with DevTools auth details'); |
| 60 | 60 | |
| 61 | 61 | $this->line(' (Find your access token details on https://backpackforlaravel.com/user/tokens)'); |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $password = $this->ask('Access token password'); |
| 64 | 64 | |
| 65 | 65 | $process = new Process(['composer', 'config', 'http-basic.backpackforlaravel.com', $username, $password]); |
| 66 | - $process->run(function ($type, $buffer) { |
|
| 66 | + $process->run(function($type, $buffer) { |
|
| 67 | 67 | if ($type === Process::ERR) { |
| 68 | 68 | $this->error('Could not write to auth.json file.'); |
| 69 | 69 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | // Require package |
| 75 | 75 | $process = new Process(['composer', 'require', '--dev', 'backpack/devtools']); |
| 76 | - $process->run(function ($type, $buffer) { |
|
| 76 | + $process->run(function($type, $buffer) { |
|
| 77 | 77 | $this->progressBar->advance(); |
| 78 | 78 | }); |
| 79 | 79 | |