We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Backpack\CRUD\app\Console\Commands; |
4 | 4 | |
5 | +use Artisan; |
|
5 | 6 | use Illuminate\Console\Command; |
6 | 7 | use Symfony\Component\Process\Exception\ProcessFailedException; |
7 | 8 | use Symfony\Component\Process\Process; |
8 | -use Artisan; |
|
9 | 9 | |
10 | 10 | class Install extends Command |
11 | 11 | { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | $createUploadDirectoryCommand = ['mkdir', '-p', 'public/uploads']; |
95 | 95 | break; |
96 | 96 | case '\\': // windows |
97 | - if (! file_exists('public\uploads')) { |
|
97 | + if (!file_exists('public\uploads')) { |
|
98 | 98 | $createUploadDirectoryCommand = ['mkdir', 'public\uploads']; |
99 | 99 | } |
100 | 100 | break; |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $command = is_string($command) ? explode(' ', $command) : $command; |
148 | 148 | |
149 | 149 | $process = new Process($command, null, null, null, $this->option('timeout')); |
150 | - $process->run(function ($type, $buffer) { |
|
150 | + $process->run(function($type, $buffer) { |
|
151 | 151 | if (Process::ERR === $type) { |
152 | 152 | $this->echo('comment', $buffer); |
153 | 153 | } else { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | }); |
157 | 157 | |
158 | 158 | // executes after the command finishes |
159 | - if (! $process->isSuccessful()) { |
|
159 | + if (!$process->isSuccessful()) { |
|
160 | 160 | throw new ProcessFailedException($process); |
161 | 161 | } |
162 | 162 |