@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $constant .= "_SP$minorVersion"; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - return constant(ExchangeWebServices::class . "::$constant"); |
|
| 66 | + return constant(ExchangeWebServices::class."::$constant"); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | protected function newAPI($email, $password, $username = null, $options = []) |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | protected function tryTopLevelDomain($email, $password, $username) |
| 184 | 184 | { |
| 185 | 185 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
| 186 | - $url = 'https://www.' . $topLevelDomain . $this->autodiscoverPath; |
|
| 186 | + $url = 'https://www.'.$topLevelDomain.$this->autodiscoverPath; |
|
| 187 | 187 | |
| 188 | 188 | return $this->doNTLMPost($url, $email, $password, $username); |
| 189 | 189 | } |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | protected function tryAutoDiscoverSubDomain($email, $password, $username) |
| 202 | 202 | { |
| 203 | 203 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
| 204 | - $url = 'https://autodiscover.' . $topLevelDomain . $this->autodiscoverPath; |
|
| 204 | + $url = 'https://autodiscover.'.$topLevelDomain.$this->autodiscoverPath; |
|
| 205 | 205 | |
| 206 | 206 | return $this->doNTLMPost($url, $email, $password, $username); |
| 207 | 207 | } |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | { |
| 221 | 221 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
| 222 | 222 | |
| 223 | - $url = 'http://autodiscover.' . $topLevelDomain . $this->autodiscoverPath; |
|
| 223 | + $url = 'http://autodiscover.'.$topLevelDomain.$this->autodiscoverPath; |
|
| 224 | 224 | |
| 225 | 225 | $client = $this->httpPlayback->getHttpClient(); |
| 226 | 226 | $postOptions = [ |
@@ -258,11 +258,11 @@ discard block |
||
| 258 | 258 | protected function trySRVRecord($email, $password, $username) |
| 259 | 259 | { |
| 260 | 260 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
| 261 | - $srvHost = '_autodiscover._tcp.' . $topLevelDomain; |
|
| 261 | + $srvHost = '_autodiscover._tcp.'.$topLevelDomain; |
|
| 262 | 262 | $lookup = dns_get_record($srvHost, DNS_SRV); |
| 263 | 263 | if (sizeof($lookup) > 0) { |
| 264 | 264 | $host = $lookup[0]['target']; |
| 265 | - $url = 'https://' . $host . $this->autodiscoverPath; |
|
| 265 | + $url = 'https://'.$host.$this->autodiscoverPath; |
|
| 266 | 266 | |
| 267 | 267 | return $this->doNTLMPost($url, $email, $password, $username); |
| 268 | 268 | } |