We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3ebfed commit 0beb569Copy full SHA for 0beb569
src/DownloadLinkFetcher.php
@@ -19,18 +19,8 @@ public function getLinksForTag(string $tag): array {
19
}
20
21
22
- $sourceLinks = $this->getSourceLinks($tag);
23
- $return['zip'] = ['url' => $sourceLinks['zip']];
24
- $return['tar'] = ['url' => $sourceLinks['tar']];
25
-
26
return $return;
27
28
- private function getSourceLinks(string $tag): array {
29
- return [
30
- 'zip' => 'https://api.github.com/repos/php/php-src/zipball/refs/tags/' . $tag,
31
- 'tar' => 'https://api.github.com/repos/php/php-src/tarball/refs/tags/' . $tag,
32
- ];
33
- }
34
35
private function getWindowsLinks(string $tag): array {
36
$folder = 'releases/archives';
0 commit comments