Skip to content

Commit 58d626b

Browse files
Merge pull request #11 from flooris/master
Refactored the PrestaShop Webservice Library and set the psCompatibleVersionsMax to 1.7.99.99
2 parents 69ab8f1 + 8d59e6f commit 58d626b

File tree

4 files changed

+404
-5
lines changed

4 files changed

+404
-5
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@
1212
"psr-4": {
1313
"Protechstudio\\PrestashopWebService\\": "src/"
1414
}
15-
},
16-
"require": {
17-
"prestashop/prestashop-webservice-lib": "dev-master"
1815
}
1916
}

src/PrestaShopWebserviceException.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace Protechstudio\PrestashopWebService;
4+
5+
class PrestaShopWebserviceException extends \Exception
6+
{
7+
8+
}

src/PrestashopWebService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
use PrestaShopWebservice as PSLibrary;
66
use SimpleXMLElement;
77

8-
class PrestashopWebService extends PSLibrary
8+
class PrestashopWebService extends PrestashopWebServiceLibrary
99
{
1010

1111
/**
1212
* Retrieve the resource schema
1313
*
1414
* @param $resource , $schema
1515
* @return SimpleXMLElement
16-
* @throws \PrestaShopWebserviceException
16+
* @throws PrestaShopWebserviceException
1717
*/
1818
public function getSchema($resource , $schema = 'blank')
1919
{

0 commit comments

Comments
 (0)