From 6e7131cc96098d43902dc5ceb399a84051c977ec Mon Sep 17 00:00:00 2001 From: Peter Dremstrup Date: Thu, 12 May 2022 14:53:31 +0200 Subject: [PATCH 1/3] Updated requests to use PSR-4 loading --- src/Infogram/HttpTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infogram/HttpTransport.php b/src/Infogram/HttpTransport.php index b58bb0d..4c13472 100644 --- a/src/Infogram/HttpTransport.php +++ b/src/Infogram/HttpTransport.php @@ -2,7 +2,7 @@ namespace Infogram; -use Requests; +use WpOrg\Requests\Request; class HttpTransport implements Transport { From 4d17de73ffc8b0d3cee12c0c671cba1fcb3090b6 Mon Sep 17 00:00:00 2001 From: Peter Dremstrup Date: Thu, 12 May 2022 15:04:09 +0200 Subject: [PATCH 2/3] Updated requests --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cf915a5..1014eb0 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ ], "require": { "php": ">=5.3", - "rmccue/requests": ">=1.0" + "rmccue/requests": "^2.0" }, "require-dev": { "phpunit/phpunit": "4.3.*", From fb8cae224b3429b0e74699f382618c6bb9b481c6 Mon Sep 17 00:00:00 2001 From: Peter Dremstrup Date: Thu, 12 May 2022 15:05:33 +0200 Subject: [PATCH 3/3] Typo fix --- src/Infogram/HttpTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infogram/HttpTransport.php b/src/Infogram/HttpTransport.php index 4c13472..2543580 100644 --- a/src/Infogram/HttpTransport.php +++ b/src/Infogram/HttpTransport.php @@ -2,7 +2,7 @@ namespace Infogram; -use WpOrg\Requests\Request; +use WpOrg\Requests\Requests; class HttpTransport implements Transport {