Commit 2f8d4e56 authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

Remove phpPro library

parent a2561cc9
......@@ -17,7 +17,6 @@
},
"require": {
"php": ">7.1",
"phpro/soap-client": "v1.7.1",
"ext-ctype": "*",
"ext-soap": "*"
}
......
......@@ -2,10 +2,8 @@
namespace GGUSHelpdesk;
use GGUSHelpdesk\Exceptions\HelpdeskOperationException;
use GGUSHelpdesk\Exceptions\InvalidFieldException;
use Phpro\SoapClient\Client;
/**
......@@ -116,7 +114,7 @@ abstract class GgusSoapService
try {
$encodedAuth = new \SoapVar($this->config['authentication'], SOAP_ENC_OBJECT);
$this->header = new \SoapHeader($this->namespace, "AuthenticationInfo", $encodedAuth, false);
$this->soapClient = new Client(
$this->soapClient = new \SoapClient(
$this->wsdl,
array('trace' => 1,
'cache_wsdl' => 0,
......
......@@ -49,7 +49,7 @@ class SoapServiceTest extends PHPUnit_Framework_TestCase {
'NotificationStrategy' => 'GHD_User_Notification'
);
\BeSimple\SoapCommon\Cache::setDirectory("C:/wamp/www/documents/wsdl");
$tss = new TestGgusSoapService(
array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment