Skip to content

Commit 497b2a6

Browse files
committed
Added PHP 8.5 Support
1 parent bc8294d commit 497b2a6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

extension/BuildPhpExtension/private/Get-PhpBuildDetails.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function Get-PhpBuildDetails {
1313
begin {
1414
}
1515
process {
16-
if($Config.php_version -eq 'master') {
16+
if($Config.php_version -eq 'master' -or $Config.php_version -eq '8.5') {
1717
$baseUrl = $fallbackBaseUrl = "https://github.com/shivammathur/php-builder-windows/releases/download/master"
1818
$PhpSemver = $PhpVersion
1919
} else {

php/BuildPhp/private/Get-PhpBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Get-PhpBuild {
4040
throw "PHP version $PhpVersion is not supported."
4141
}
4242
}
43-
if($PhpVersion -eq 'master') {
43+
if($PhpVersion -eq 'master' -or $PhpVersion -eq '8.5') {
4444
$fallbackBaseUrl = $baseUrl = "https://github.com/shivammathur/php-builder-windows/releases/download/master"
4545
} else {
4646
$releaseState = if ($PhpVersion -match "[a-z]") {"qa"} else {"releases"}

php/BuildPhp/private/Get-PhpTestPack.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function Get-PhpTestPack {
2222
process {
2323
Add-Type -Assembly "System.IO.Compression.Filesystem"
2424

25-
if($PhpVersion -eq 'master') {
25+
if($PhpVersion -eq 'master' -or $PhpVersion -eq '8.5') {
2626
$fallbackBaseUrl = $baseUrl = "https://github.com/shivammathur/php-builder-windows/releases/download/master"
2727
} else {
2828
$releaseState = if ($PhpVersion -match "[a-z]") {"qa"} else {"releases"}

0 commit comments

Comments
 (0)