diff --git a/composer.json b/composer.json index ad23c8e..7120abf 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,6 @@ ], "require": { "php": ">=8.1", - "php-http/httplug": "^1.0|^2.0", "php-http/client-implementation": "^1.0", "php-http/client-common": "^2.1", "php-http/discovery": "^1.7", diff --git a/src/Builder/OdooApiClientBuilder.php b/src/Builder/OdooApiClientBuilder.php index e187f43..6e94a12 100644 --- a/src/Builder/OdooApiClientBuilder.php +++ b/src/Builder/OdooApiClientBuilder.php @@ -9,8 +9,8 @@ use FluxSE\OdooApiClient\Api\OdooApiRequestMaker; use FluxSE\OdooApiClient\Api\OdooApiRequestMakerInterface; use FluxSE\OdooApiClient\Api\RequestBody; -use FluxSE\OdooApiClient\HttPlug\Factory\OdooHttpClientFactory; -use FluxSE\OdooApiClient\HttPlug\Factory\OdooHttpClientFactoryInterface; +use FluxSE\OdooApiClient\HttpClient\Factory\OdooHttpClientFactory; +use FluxSE\OdooApiClient\HttpClient\Factory\OdooHttpClientFactoryInterface; use FluxSE\OdooApiClient\Operations\CommonOperations; use FluxSE\OdooApiClient\Operations\CommonOperationsInterface; use FluxSE\OdooApiClient\Operations\DbOperations; diff --git a/src/Builder/OdooApiClientBuilderInterface.php b/src/Builder/OdooApiClientBuilderInterface.php index 53123a8..14f9a0f 100644 --- a/src/Builder/OdooApiClientBuilderInterface.php +++ b/src/Builder/OdooApiClientBuilderInterface.php @@ -6,7 +6,7 @@ use FluxSE\OdooApiClient\Api\Factory\RequestBodyFactoryInterface; use FluxSE\OdooApiClient\Api\OdooApiRequestMakerInterface; -use FluxSE\OdooApiClient\HttPlug\Factory\OdooHttpClientFactoryInterface; +use FluxSE\OdooApiClient\HttpClient\Factory\OdooHttpClientFactoryInterface; use FluxSE\OdooApiClient\Operations\CommonOperationsInterface; use FluxSE\OdooApiClient\Operations\DbOperationsInterface; use FluxSE\OdooApiClient\Operations\Object\ExecuteKw\OperationsInterface as ExecuteKwOperationsInterface; diff --git a/src/HttPlug/Factory/OdooHttpClientFactory.php b/src/HttpClient/Factory/OdooHttpClientFactory.php similarity index 94% rename from src/HttPlug/Factory/OdooHttpClientFactory.php rename to src/HttpClient/Factory/OdooHttpClientFactory.php index a6a7f70..4c9bd33 100644 --- a/src/HttPlug/Factory/OdooHttpClientFactory.php +++ b/src/HttpClient/Factory/OdooHttpClientFactory.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace FluxSE\OdooApiClient\HttPlug\Factory; +namespace FluxSE\OdooApiClient\HttpClient\Factory; -use FluxSE\OdooApiClient\HttPlug\Plugin\OdooApiErrorPlugin; +use FluxSE\OdooApiClient\HttpClient\Plugin\OdooApiErrorPlugin; use FluxSE\OdooApiClient\Serializer\RpcSerializerHelperInterface; use Http\Client\Common\Plugin; use Http\Client\Common\Plugin\ContentTypePlugin; diff --git a/src/HttPlug/Factory/OdooHttpClientFactoryInterface.php b/src/HttpClient/Factory/OdooHttpClientFactoryInterface.php similarity index 91% rename from src/HttPlug/Factory/OdooHttpClientFactoryInterface.php rename to src/HttpClient/Factory/OdooHttpClientFactoryInterface.php index 46784b6..5abebb7 100644 --- a/src/HttPlug/Factory/OdooHttpClientFactoryInterface.php +++ b/src/HttpClient/Factory/OdooHttpClientFactoryInterface.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace FluxSE\OdooApiClient\HttPlug\Factory; +namespace FluxSE\OdooApiClient\HttpClient\Factory; use FluxSE\OdooApiClient\Serializer\RpcSerializerHelperInterface; use Http\Client\Common\Plugin; diff --git a/src/HttPlug/Plugin/OdooApiErrorPlugin.php b/src/HttpClient/Plugin/OdooApiErrorPlugin.php similarity index 98% rename from src/HttPlug/Plugin/OdooApiErrorPlugin.php rename to src/HttpClient/Plugin/OdooApiErrorPlugin.php index 54e8593..5014216 100644 --- a/src/HttPlug/Plugin/OdooApiErrorPlugin.php +++ b/src/HttpClient/Plugin/OdooApiErrorPlugin.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace FluxSE\OdooApiClient\HttPlug\Plugin; +namespace FluxSE\OdooApiClient\HttpClient\Plugin; use FluxSE\OdooApiClient\Api\Fault; use FluxSE\OdooApiClient\Api\FaultInterface;