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.
secure-http
1 parent c3fea31 commit 6f3874fCopy full SHA for 6f3874f
src/Package/PHP/Convey/Command/Pecl.php
@@ -103,13 +103,11 @@ protected function fetch($target)
103
$config = new Config();
104
$config->merge([
105
'config' => [
106
- 'secure-http' => WebsiteFactory::isTestServer() ? false : true,
+ 'secure-http' => !WebsiteFactory::getWebsite()->isUnsafe(),
107
],
108
]);
109
$downloader = new PECLDownloader($this->io, $config);
110
- if ($downloader !== null) {
111
- $downloader->download($package, $target);
112
- }
+ $downloader->download($package, $target);
113
114
unset($package, $downloader);
115
}
0 commit comments