Skip to content

Commit eaa9969

Browse files
committed
Remove RC version for PHP 8.4
1 parent 7c59e4d commit eaa9969

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/SPC/store/source/PhpSource.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ class PhpSource extends CustomSourceBase
1919
*/
2020
public function fetch(bool $force = false, ?array $config = null, int $lock_as = SPC_LOCK_SOURCE): void
2121
{
22-
$major = defined('SPC_BUILD_PHP_VERSION') ? SPC_BUILD_PHP_VERSION : '8.1';
23-
if ($major === '8.4') {
24-
Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://downloads.php.net/~calvinb/php-8.4.0RC4.tar.xz'], $force);
25-
} else {
26-
Downloader::downloadSource('php-src', self::getLatestPHPInfo($major), $force);
27-
}
22+
$major = defined('SPC_BUILD_PHP_VERSION') ? SPC_BUILD_PHP_VERSION : '8.3';
23+
Downloader::downloadSource('php-src', self::getLatestPHPInfo($major), $force);
2824
}
2925

3026
/**

0 commit comments

Comments
 (0)