Skip to content

Commit 2be7073

Browse files
authored
Fixes missing script error (#183)
* update php versions * fix typo in maybe-create-symlinks
1 parent a99c61e commit 2be7073

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

upstream-configuration/scripts/ComposerScripts.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public static function applyComposerJsonUpdates(Event $event)
108108
}
109109
}
110110

111-
$maybe_add_symlinks = '@maybe-add-symlinks';
111+
$maybe_add_symlinks = '@maybe-create-symlinks';
112112
// Check if @maybe-add-symlinks is already in post-update-cmd. If not, add it.
113113
if (!in_array($maybe_add_symlinks, $composerJson['scripts']['post-update-cmd'])) {
114114
$io->write("<info>Adding $maybe_add_symlinks to post-update-cmd hook</info>");
@@ -206,14 +206,16 @@ private static function bestPhpPatchVersion($pantheonPhpVersion)
206206
{
207207
// Integrated Composer requires PHP 7.1 at a minimum.
208208
$patchVersions = [
209-
'8.2' => '8.2.0',
210-
'8.1' => '8.1.13',
211-
'8.0' => '8.0.26',
209+
'8.3' => '8.3.14',
210+
'8.2' => '8.2.26',
211+
'8.1' => '8.1.31',
212+
// EOL final patch version below this line.
213+
'8.0' => '8.0.30',
212214
'7.4' => '7.4.33',
213215
'7.3' => '7.3.33',
214216
'7.2' => '7.2.34',
215217
'7.1' => '7.1.33',
216-
];
218+
];
217219
if (isset($patchVersions[$pantheonPhpVersion])) {
218220
return $patchVersions[$pantheonPhpVersion];
219221
}

0 commit comments

Comments
 (0)