Passed
Push — master ( d5bc1c...e6b384 )
by Roberto
02:14 queued 01:07
created
src/Common/Soap/SoapBase.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -324,9 +324,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.