Skip to content

Commit 0a620f8

Browse files
author
Mohammed
committed
#184 Fix coding standards
1 parent 028af35 commit 0a620f8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Configuration/AbstractConfiguration.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,30 +234,30 @@ public function getCookieFile()
234234
*/
235235
public function getProxyServer()
236236
{
237-
return $this->proxyServer;
237+
return $this->proxyServer;
238238
}
239239

240240
/**
241241
* @return string
242242
*/
243243
public function getProxyPort()
244244
{
245-
return $this->proxyPort;
245+
return $this->proxyPort;
246246
}
247247

248248
/**
249249
* @return string
250250
*/
251251
public function getProxyUser()
252252
{
253-
return $this->proxyUser;
253+
return $this->proxyUser;
254254
}
255255

256256
/**
257257
* @return string
258258
*/
259259
public function getProxyPassword()
260260
{
261-
return $this->proxyPassword;
261+
return $this->proxyPassword;
262262
}
263263
}

src/JiraClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ public function exec($context, $post_data = null, $custom_request = null, $cooki
210210

211211
// Add proxy settings to the curl.
212212
if ($this->getConfiguration()->getProxyServer()) {
213-
curl_setopt($ch, CURLOPT_PROXY, $this->getConfiguration()->getProxyServer());
214-
curl_setopt($ch, CURLOPT_PROXYPORT, $this->getConfiguration()->getProxyPort());
213+
curl_setopt($ch, CURLOPT_PROXY, $this->getConfiguration()->getProxyServer());
214+
curl_setopt($ch, CURLOPT_PROXYPORT, $this->getConfiguration()->getProxyPort());
215215

216-
$username = $this->getConfiguration()->getProxyUser();
217-
$password = $this->getConfiguration()->getProxyPassword();
218-
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$username:$password");
216+
$username = $this->getConfiguration()->getProxyUser();
217+
$password = $this->getConfiguration()->getProxyPassword();
218+
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$username:$password");
219219
}
220220

221221
$this->log->addDebug('Curl exec='.$url);

0 commit comments

Comments
 (0)