@@ -101,14 +101,14 @@ discard block |
||
| 101 | 101 | $explodedVersion = explode('.', $version); |
| 102 | 102 | |
| 103 | 103 | $nextPatch = $explodedVersion[2] + 1; |
| 104 | - $versions[] = $explodedVersion[0] . '.' . $explodedVersion[1] . '.' . $nextPatch; |
|
| 104 | + $versions[] = $explodedVersion[0].'.'.$explodedVersion[1].'.'.$nextPatch; |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | // Use $branch from the previous loop to allow the next minor version (PHP's master branch) |
| 108 | 108 | $explodedVersion = explode('.', $branch); |
| 109 | 109 | |
| 110 | 110 | $nextMinor = $explodedVersion[1] + 1; |
| 111 | - $nextRelease = $explodedVersion[0] . '.' . $nextMinor . '.0'; |
|
| 111 | + $nextRelease = $explodedVersion[0].'.'.$nextMinor.'.0'; |
|
| 112 | 112 | |
| 113 | 113 | if (!in_array($nextRelease, $versions, true)) |
| 114 | 114 | { |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | // Store the version data now |
| 119 | - $path = APPROOT . '/versions/php.json'; |
|
| 119 | + $path = APPROOT.'/versions/php.json'; |
|
| 120 | 120 | |
| 121 | 121 | if (file_put_contents($path, json_encode($versions)) === false) |
| 122 | 122 | { |
@@ -31,12 +31,12 @@ |
||
| 31 | 31 | $this->getApplication()->out('<info>Updating server to git HEAD</info>'); |
| 32 | 32 | |
| 33 | 33 | // Pull from remote repo |
| 34 | - $this->runCommand('cd ' . APPROOT . ' && git pull 2>&1'); |
|
| 34 | + $this->runCommand('cd '.APPROOT.' && git pull 2>&1'); |
|
| 35 | 35 | |
| 36 | 36 | $this->getApplication()->out('<info>Updating Composer resources</info>'); |
| 37 | 37 | |
| 38 | 38 | // Run Composer install |
| 39 | - $this->runCommand('cd ' . APPROOT . ' && composer install --no-dev -o -a 2>&1'); |
|
| 39 | + $this->runCommand('cd '.APPROOT.' && composer install --no-dev -o -a 2>&1'); |
|
| 40 | 40 | |
| 41 | 41 | $this->getApplication()->out('<info>Update complete</info>'); |
| 42 | 42 | |