From 9114b007ae33b845991b5d2f3cc868f1626b8449 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sun, 25 Dec 2022 21:26:22 +0530 Subject: [PATCH] Restore stability workaround for PHP 8.1 on Windows --- src/scripts/extensions/add_extensions.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/scripts/extensions/add_extensions.ps1 b/src/scripts/extensions/add_extensions.ps1 index 293d7cec3..e43493c65 100644 --- a/src/scripts/extensions/add_extensions.ps1 +++ b/src/scripts/extensions/add_extensions.ps1 @@ -96,10 +96,9 @@ Function Add-Extension { if(($version -match $nightly_versions) -and (Select-String -Path $src\configs\windows_extensions -Pattern $extension -SimpleMatch -Quiet)) { Add-NightlyExtension $extension } else { - # Patch till PHP 8.2 DLLs are released as stable. + # Patch till DLLs for PHP 8.1 and 8.2 are released as stable. $minimumStability = $stability - if ($version -eq '8.2' -and $stability -eq 'stable') - { + if ($version -match '8.[1-2]' -and $stability -eq 'stable') { $minimumStability = 'snapshot' }