CS fixes
parent
2e75cde60a
commit
3d9daea6a0
|
@ -235,8 +235,7 @@ class InstallationManager
|
|||
{
|
||||
foreach ($this->notifiablePackages as $repoUrl => $packages) {
|
||||
$repositoryName = parse_url($repoUrl, PHP_URL_HOST);
|
||||
if ($io->hasAuthentication ($repositoryName))
|
||||
{
|
||||
if ($io->hasAuthentication($repositoryName)) {
|
||||
$auth = $io->getAuthentication($repositoryName);
|
||||
$authStr = base64_encode($auth['username'] . ':' . $auth['password']);
|
||||
$authHeader = 'Authorization: Basic '.$authStr;
|
||||
|
|
Loading…
Reference in New Issue