Skip to content

Commit

Permalink
deprecated ssl option replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-stanek committed Sep 20, 2022
1 parent 15deee9 commit cfc9990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ public function getSoapOptions(): array
'ID_Application' => $this->appId,
'soap_version' => SOAP_1_2,
'encoding' => 'utf-8',
'ssl_method' => SOAP_SSL_METHOD_TLS,
'stream_context' => stream_context_create([
'ssl' => ['crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT]
]),
'exceptions' => true,
'trace' => true,
'user_agent' => 'Skautis PHP library',
Expand Down

0 comments on commit cfc9990

Please sign in to comment.