Fixed $this usage on static functions
parent
bd2f321527
commit
6b3b51e299
|
@ -114,7 +114,7 @@ EOT
|
|||
} else {
|
||||
$factory = new Factory;
|
||||
$process = new ProcessExecutor();
|
||||
$httpDownloader = $factory->createHttpDownloader($io, $config);
|
||||
$httpDownloader = Factory::createHttpDownloader($io, $config);
|
||||
$downloadManager = $factory->createDownloadManager($io, $config, $httpDownloader, $process);
|
||||
$archiveManager = $factory->createArchiveManager($config, $downloadManager, new Loop($httpDownloader, $process));
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ class GitLabDriver extends VcsDriver
|
|||
? $match['scheme']
|
||||
: (isset($this->repoConfig['secure-http']) && $this->repoConfig['secure-http'] === false ? 'http' : 'https')
|
||||
;
|
||||
$this->originUrl = $this->determineOrigin($configuredDomains, $guessedDomain, $urlParts, $match['port']);
|
||||
$this->originUrl = self::determineOrigin($configuredDomains, $guessedDomain, $urlParts, $match['port']);
|
||||
|
||||
if (false !== strpos($this->originUrl, ':') || false !== strpos($this->originUrl, '/')) {
|
||||
$this->hasNonstandardOrigin = true;
|
||||
|
|
Loading…
Reference in New Issue