Skip to content

Commit

Permalink
Restore stability workaround for PHP 8.1 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Dec 25, 2022
1 parent cb0c293 commit 9114b00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/scripts/extensions/add_extensions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

Expand Down

0 comments on commit 9114b00

Please sign in to comment.