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 a8e5027 commit cc59b39Copy full SHA for cc59b39
src/SPC/store/Downloader.php
@@ -26,7 +26,8 @@ class Downloader
26
public static function getPECLInfo(string $name, array $source): array
27
{
28
$package = $source['pecl'] ?? (str_starts_with($name, 'ext-') ? substr($name, 4) : $name);
29
- $api_url = "https://pecl.php.net/rest/r/" . strtolower($package) . '/allreleases.xml';
+ $lp = strtolower($package);
30
+ $api_url = "https://pecl.php.net/rest/r/{$lp}/allreleases.xml";
31
logger()->debug("Fetching {$name} source from PECL: {$api_url}");
32
$xml = self::curlExec(
33
url: $api_url,
0 commit comments