diff --git a/src/DownloadLinkFetcher.php b/src/DownloadLinkFetcher.php index 8e36270..6f3050c 100644 --- a/src/DownloadLinkFetcher.php +++ b/src/DownloadLinkFetcher.php @@ -32,7 +32,10 @@ private static function determineVCVersion(string $tag): string { if (preg_match('/^php-7\.4\./', $tag)) { return 'vc15'; } - return 'vs16'; + if (preg_match('/^php-8\.[0123]\./', $tag)) { + return 'vs16'; + } + return 'vs17'; } private function getWindowsLinks(string $tag): array {