Skip to content

Commit

Permalink
Add compatibility for php7.4 (#104)
Browse files Browse the repository at this point in the history
* Update Afip.php

Add compatibility for php7.4

* Update Afip.php
  • Loading branch information
eesnaola authored May 7, 2021
1 parent 291ffae commit ba1833a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Afip.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ private function CreateServiceTA($service)
'location' => $this->WSAA_URL,
'trace' => 1,
'exceptions' => 0,
'stream_context' => stream_context_create(['ssl'=> ['verify_peer'=> false,'verify_peer_name'=> false]])
'stream_context' => stream_context_create(['ssl'=> ['ciphers'=> 'AES256-SHA','verify_peer'=> false,'verify_peer_name'=> false]])
));
$results=$client->loginCms(array('in0'=>$CMS));
if (is_soap_fault($results))
Expand Down Expand Up @@ -376,7 +376,7 @@ public function ExecuteRequest($operation, $params = array())
'location' => $this->URL,
'trace' => 1,
'exceptions' => 0,
'stream_context' => stream_context_create(['ssl'=> ['verify_peer'=> false,'verify_peer_name'=> false]])
'stream_context' => stream_context_create(['ssl'=> ['ciphers'=> 'AES256-SHA','verify_peer'=> false,'verify_peer_name'=> false]])
));
}

Expand Down

0 comments on commit ba1833a

Please sign in to comment.