We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -37,9 +37,9 @@ discard block |
||
| 37 | 37 | $this->line(''); |
| 38 | 38 | |
| 39 | 39 | $this->comment('### BACKPACK PACKAGE VERSIONS:'); |
| 40 | - foreach(\PackageVersions\Versions::VERSIONS as $package => $version) { |
|
| 40 | + foreach (\PackageVersions\Versions::VERSIONS as $package => $version) { |
|
| 41 | 41 | if (substr($package, 0, 9) == 'backpack/') { |
| 42 | - $this->line($package.': '.strtok($version,'@')); |
|
| 42 | + $this->line($package.': '.strtok($version, '@')); |
|
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | private function runConsoleCommand($command) |
| 54 | 54 | { |
| 55 | 55 | $process = new Process($command, null, null, null, 60, null); |
| 56 | - $process->run(function ($type, $buffer) { |
|
| 56 | + $process->run(function($type, $buffer) { |
|
| 57 | 57 | if (Process::ERR === $type) { |
| 58 | 58 | $this->line($buffer); |
| 59 | 59 | } else { |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | }); |
| 63 | 63 | |
| 64 | 64 | // executes after the command finishes |
| 65 | - if (! $process->isSuccessful()) { |
|
| 65 | + if (!$process->isSuccessful()) { |
|
| 66 | 66 | throw new ProcessFailedException($process); |
| 67 | 67 | } |
| 68 | 68 | } |