@@ -57,8 +57,7 @@ discard block |
||
| 57 | 57 | try |
| 58 | 58 | { |
| 59 | 59 | $processHelper->mustRun($output, new Process(['git', 'pull'], APPROOT)); |
| 60 | - } |
|
| 61 | - catch (ProcessFailedException $e) |
|
| 60 | + } catch (ProcessFailedException $e) |
|
| 62 | 61 | { |
| 63 | 62 | $this->getApplication()->getLogger()->error('Could not execute `git pull`', ['exception' => $e]); |
| 64 | 63 | |
@@ -73,8 +72,7 @@ discard block |
||
| 73 | 72 | try |
| 74 | 73 | { |
| 75 | 74 | $processHelper->mustRun($output, new Process(['composer', 'install', '--no-dev', '-o', '-a'], APPROOT)); |
| 76 | - } |
|
| 77 | - catch (ProcessFailedException $e) |
|
| 75 | + } catch (ProcessFailedException $e) |
|
| 78 | 76 | { |
| 79 | 77 | $this->getApplication()->getLogger()->error('Could not update Composer resources', ['exception' => $e]); |
| 80 | 78 | |
@@ -115,14 +115,14 @@ |
||
| 115 | 115 | $explodedVersion = explode('.', $version); |
| 116 | 116 | |
| 117 | 117 | $nextPatch = $explodedVersion[2] + 1; |
| 118 | - $versions[] = $explodedVersion[0] . '.' . $explodedVersion[1] . '.' . $nextPatch; |
|
| 118 | + $versions[] = $explodedVersion[0].'.'.$explodedVersion[1].'.'.$nextPatch; |
|
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | // Use $branch from the previous loop to allow the next minor version (PHP's master branch) |
| 122 | 122 | $explodedVersion = explode('.', $branch); |
| 123 | 123 | |
| 124 | 124 | $nextMinor = $explodedVersion[1] + 1; |
| 125 | - $nextRelease = $explodedVersion[0] . '.' . $nextMinor . '.0'; |
|
| 125 | + $nextRelease = $explodedVersion[0].'.'.$nextMinor.'.0'; |
|
| 126 | 126 | |
| 127 | 127 | // There won't be a PHP 7.5, change next release to 8.0 if needed |
| 128 | 128 | if ($nextRelease === '7.5.0') |