|
@@ -101,14 +101,14 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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
|
{ |
Please login to merge, or discard this patch.