Skip to content

Commit e2ad31e

Browse files
authored
Support PHP 8.5 release (#971)
2 parents 90981e3 + af614cd commit e2ad31e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/SPC/store/source/PhpSource.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ class PhpSource extends CustomSourceBase
1515
public function fetch(bool $force = false, ?array $config = null, int $lock_as = SPC_DOWNLOAD_SOURCE): void
1616
{
1717
$major = defined('SPC_BUILD_PHP_VERSION') ? SPC_BUILD_PHP_VERSION : '8.4';
18-
if ($major === '8.5') {
19-
Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://downloads.php.net/~daniels/php-8.5.0RC5.tar.xz'], $force);
20-
} elseif ($major === 'git') {
18+
if ($major === 'git') {
2119
Downloader::downloadSource('php-src', ['type' => 'git', 'url' => 'https://github.com/php/php-src.git', 'rev' => 'master'], $force);
2220
} else {
2321
Downloader::downloadSource('php-src', $this->getLatestPHPInfo($major), $force);

0 commit comments

Comments
 (0)