@@ -324,9 +324,9 @@ discard block |
||
324 | 324 | if ($this->proxyIP != '') { |
325 | 325 | curl_setopt($oCurl, CURLOPT_HTTPPROXYTUNNEL, 1); |
326 | 326 | curl_setopt($oCurl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); |
327 | - curl_setopt($oCurl, CURLOPT_PROXY, $this->proxyIP.':'.$this->proxyPort); |
|
327 | + curl_setopt($oCurl, CURLOPT_PROXY, $this->proxyIP . ':' . $this->proxyPort); |
|
328 | 328 | if ($this->proxyUser != '') { |
329 | - curl_setopt($oCurl, CURLOPT_PROXYUSERPWD, $this->proxyUser.':'.$this->proxyPass); |
|
329 | + curl_setopt($oCurl, CURLOPT_PROXYUSERPWD, $this->proxyUser . ':' . $this->proxyPass); |
|
330 | 330 | curl_setopt($oCurl, CURLOPT_PROXYAUTH, CURLAUTH_BASIC); |
331 | 331 | } |
332 | 332 | } |
@@ -356,9 +356,9 @@ discard block |
||
356 | 356 | ); |
357 | 357 | } |
358 | 358 | $this->certsdir = $this->certificate->getCnpj() . '/certs/'; |
359 | - $this->prifile = $this->certsdir. Strings::randomString(10).'.pem'; |
|
360 | - $this->pubfile = $this->certsdir . Strings::randomString(10).'.pem'; |
|
361 | - $this->certfile = $this->certsdir . Strings::randomString(10).'.pem'; |
|
359 | + $this->prifile = $this->certsdir . Strings::randomString(10) . '.pem'; |
|
360 | + $this->pubfile = $this->certsdir . Strings::randomString(10) . '.pem'; |
|
361 | + $this->certfile = $this->certsdir . Strings::randomString(10) . '.pem'; |
|
362 | 362 | $ret = true; |
363 | 363 | $private = $this->certificate->privateKey; |
364 | 364 | if ($this->encriptPrivateKey) { |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | //utilize a API. Outra solução para remover arquivos "perdidos" pode ser |
411 | 411 | //encontrada oportunamente. |
412 | 412 | $dt = new \DateTime(); |
413 | - $tint = new \DateInterval("PT".$this->waitingTime."M"); |
|
413 | + $tint = new \DateInterval("PT" . $this->waitingTime . "M"); |
|
414 | 414 | $tint->invert = 1; |
415 | 415 | $tsLimit = $dt->add($tint)->getTimestamp(); |
416 | 416 | foreach ($contents as $item) { |