From 966d0bec10d11b2ac141ab73b9418c9a90830528 Mon Sep 17 00:00:00 2001 From: Stefan Grootscholten Date: Sun, 29 Jan 2017 15:55:37 +0100 Subject: [PATCH] One more non-camelCase variable. --- src/Composer/Util/RemoteFilesystem.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index 2d6f76b32..a6c93afe8 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -593,9 +593,9 @@ class RemoteFilesystem $auth = $this->io->getAuthentication($this->originUrl); if ($auth['username'] !== 'x-token-auth') { $bitbucketUtil = new Bitbucket($this->io, $this->config); - $access_token = $bitbucketUtil->requestToken($this->originUrl, $auth['username'], $auth['password']); - if (! empty($access_token)) { - $this->io->setAuthentication($this->originUrl, 'x-token-auth', $access_token); + $accessToken = $bitbucketUtil->requestToken($this->originUrl, $auth['username'], $auth['password']); + if (! empty($accessToken)) { + $this->io->setAuthentication($this->originUrl, 'x-token-auth', $accessToken); $askForOAuthToken = false; } } else {