diff --git a/src/Services/Str.php b/src/Services/Str.php index 105f9214..ad7d9c33 100644 --- a/src/Services/Str.php +++ b/src/Services/Str.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Services; -use GuzzleHttp\Utils; use Srmklive\PayPal\Traits\JsonEncodeDecodeSelector; class Str extends \Illuminate\Support\Str @@ -27,7 +26,7 @@ public static function isJson($value): bool } try { - (new Str)->jsonDecodeFunction()($value, true, 512, 4194304); + (new Str())->jsonDecodeFunction()($value, true, 512, 4194304); } catch (\Exception $jsonException) { return false; } diff --git a/src/Traits/PayPalAPI/Invoices.php b/src/Traits/PayPalAPI/Invoices.php index c47c19eb..8c7ae132 100644 --- a/src/Traits/PayPalAPI/Invoices.php +++ b/src/Traits/PayPalAPI/Invoices.php @@ -375,4 +375,4 @@ protected function getInvoiceMessagePayload(string $subject, string $note, array return collect($data)->filter()->toArray(); } -} \ No newline at end of file +} diff --git a/src/Traits/PayPalAPI/ReferencedPayouts.php b/src/Traits/PayPalAPI/ReferencedPayouts.php index 28c00cae..ee998fed 100644 --- a/src/Traits/PayPalAPI/ReferencedPayouts.php +++ b/src/Traits/PayPalAPI/ReferencedPayouts.php @@ -7,7 +7,7 @@ trait ReferencedPayouts /** * Create a referenced Batch Payout. * - * @param array $data + * @param array $data * * @throws \Throwable * diff --git a/src/Traits/PayPalHttpClient.php b/src/Traits/PayPalHttpClient.php index 388b8b19..e2416934 100644 --- a/src/Traits/PayPalHttpClient.php +++ b/src/Traits/PayPalHttpClient.php @@ -4,7 +4,6 @@ use GuzzleHttp\Client as HttpClient; use GuzzleHttp\Exception\ClientException as HttpClientException; -use GuzzleHttp\Utils; use Psr\Http\Message\StreamInterface; use RuntimeException; use Srmklive\PayPal\Services\Str; diff --git a/tests/MockClientClasses.php b/tests/MockClientClasses.php index 4a741ae6..b470f5a1 100644 --- a/tests/MockClientClasses.php +++ b/tests/MockClientClasses.php @@ -7,7 +7,6 @@ use GuzzleHttp\HandlerStack as HttpHandlerStack; use GuzzleHttp\Psr7\Response as HttpResponse; use GuzzleHttp\Psr7\Stream as HttpStream; -use GuzzleHttp\Utils; use Psr\Http\Message\ResponseInterface; use Srmklive\PayPal\Services\PayPal as PayPalClient; use Srmklive\PayPal\Traits\JsonEncodeDecodeSelector; diff --git a/tests/Mocks/Requests/BillingPlans.php b/tests/Mocks/Requests/BillingPlans.php index c23ab9ce..884fb9e8 100644 --- a/tests/Mocks/Requests/BillingPlans.php +++ b/tests/Mocks/Requests/BillingPlans.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait BillingPlans { /** diff --git a/tests/Mocks/Requests/CatalogProducts.php b/tests/Mocks/Requests/CatalogProducts.php index 3d8762be..b3c86875 100644 --- a/tests/Mocks/Requests/CatalogProducts.php +++ b/tests/Mocks/Requests/CatalogProducts.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait CatalogProducts { /** diff --git a/tests/Mocks/Requests/Disputes.php b/tests/Mocks/Requests/Disputes.php index 902d7eca..d87c01b5 100644 --- a/tests/Mocks/Requests/Disputes.php +++ b/tests/Mocks/Requests/Disputes.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait Disputes { /** diff --git a/tests/Mocks/Requests/DisputesActions.php b/tests/Mocks/Requests/DisputesActions.php index cb7d83ff..ee61a252 100644 --- a/tests/Mocks/Requests/DisputesActions.php +++ b/tests/Mocks/Requests/DisputesActions.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait DisputesActions { /** diff --git a/tests/Mocks/Requests/Identity.php b/tests/Mocks/Requests/Identity.php index 3a79277e..b3d388b1 100644 --- a/tests/Mocks/Requests/Identity.php +++ b/tests/Mocks/Requests/Identity.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait Identity { private function mockCreateMerchantApplicationParams(): array diff --git a/tests/Mocks/Requests/Invoices.php b/tests/Mocks/Requests/Invoices.php index 67d509d6..5f9cfb1a 100644 --- a/tests/Mocks/Requests/Invoices.php +++ b/tests/Mocks/Requests/Invoices.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait Invoices { /** diff --git a/tests/Mocks/Requests/InvoicesSearch.php b/tests/Mocks/Requests/InvoicesSearch.php index 434eab1e..ac9d24c6 100644 --- a/tests/Mocks/Requests/InvoicesSearch.php +++ b/tests/Mocks/Requests/InvoicesSearch.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait InvoicesSearch { /** diff --git a/tests/Mocks/Requests/InvoicesTemplates.php b/tests/Mocks/Requests/InvoicesTemplates.php index 1fda4231..e3d8b995 100644 --- a/tests/Mocks/Requests/InvoicesTemplates.php +++ b/tests/Mocks/Requests/InvoicesTemplates.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait InvoicesTemplates { /** diff --git a/tests/Mocks/Requests/Orders.php b/tests/Mocks/Requests/Orders.php index 08a18a24..e6192997 100644 --- a/tests/Mocks/Requests/Orders.php +++ b/tests/Mocks/Requests/Orders.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait Orders { /* diff --git a/tests/Mocks/Requests/PartnerReferrals.php b/tests/Mocks/Requests/PartnerReferrals.php index 2215c7c8..b42abc97 100644 --- a/tests/Mocks/Requests/PartnerReferrals.php +++ b/tests/Mocks/Requests/PartnerReferrals.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait PartnerReferrals { private function mockCreatePartnerReferralParams(): array diff --git a/tests/Mocks/Requests/PaymentAuthorizations.php b/tests/Mocks/Requests/PaymentAuthorizations.php index 856a43e9..e9507340 100644 --- a/tests/Mocks/Requests/PaymentAuthorizations.php +++ b/tests/Mocks/Requests/PaymentAuthorizations.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait PaymentAuthorizations { /** diff --git a/tests/Mocks/Requests/PaymentCaptures.php b/tests/Mocks/Requests/PaymentCaptures.php index 8d651703..3b70c337 100644 --- a/tests/Mocks/Requests/PaymentCaptures.php +++ b/tests/Mocks/Requests/PaymentCaptures.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait PaymentCaptures { /** diff --git a/tests/Mocks/Requests/PaymentExperienceWebProfiles.php b/tests/Mocks/Requests/PaymentExperienceWebProfiles.php index 727e131d..7f9426c9 100644 --- a/tests/Mocks/Requests/PaymentExperienceWebProfiles.php +++ b/tests/Mocks/Requests/PaymentExperienceWebProfiles.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait PaymentExperienceWebProfiles { /** diff --git a/tests/Mocks/Requests/PaymentMethodsTokens.php b/tests/Mocks/Requests/PaymentMethodsTokens.php index 875575d6..ef4aea56 100644 --- a/tests/Mocks/Requests/PaymentMethodsTokens.php +++ b/tests/Mocks/Requests/PaymentMethodsTokens.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait PaymentMethodsTokens { /** diff --git a/tests/Mocks/Requests/Payouts.php b/tests/Mocks/Requests/Payouts.php index 37e4efae..b4a371f2 100644 --- a/tests/Mocks/Requests/Payouts.php +++ b/tests/Mocks/Requests/Payouts.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait Payouts { /** diff --git a/tests/Mocks/Requests/ReferencedPayouts.php b/tests/Mocks/Requests/ReferencedPayouts.php index c6254239..54734f7d 100644 --- a/tests/Mocks/Requests/ReferencedPayouts.php +++ b/tests/Mocks/Requests/ReferencedPayouts.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait ReferencedPayouts { /** diff --git a/tests/Mocks/Requests/Subscriptions.php b/tests/Mocks/Requests/Subscriptions.php index cdc88112..9fce602f 100644 --- a/tests/Mocks/Requests/Subscriptions.php +++ b/tests/Mocks/Requests/Subscriptions.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait Subscriptions { /** diff --git a/tests/Mocks/Requests/Trackers.php b/tests/Mocks/Requests/Trackers.php index 276e20d7..4561cfa7 100644 --- a/tests/Mocks/Requests/Trackers.php +++ b/tests/Mocks/Requests/Trackers.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait Trackers { /** diff --git a/tests/Mocks/Requests/WebHooks.php b/tests/Mocks/Requests/WebHooks.php index 07cd6a09..a8254a3a 100644 --- a/tests/Mocks/Requests/WebHooks.php +++ b/tests/Mocks/Requests/WebHooks.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Requests; -use GuzzleHttp\Utils; - trait WebHooks { /** diff --git a/tests/Mocks/Responses/BillingPlans.php b/tests/Mocks/Responses/BillingPlans.php index 0b2c7c85..1744b64c 100644 --- a/tests/Mocks/Responses/BillingPlans.php +++ b/tests/Mocks/Responses/BillingPlans.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait BillingPlans { /** diff --git a/tests/Mocks/Responses/CatalogProducts.php b/tests/Mocks/Responses/CatalogProducts.php index 20a49f17..f2c586ed 100644 --- a/tests/Mocks/Responses/CatalogProducts.php +++ b/tests/Mocks/Responses/CatalogProducts.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait CatalogProducts { /** diff --git a/tests/Mocks/Responses/Disputes.php b/tests/Mocks/Responses/Disputes.php index a7ad86f8..50cfb1c9 100644 --- a/tests/Mocks/Responses/Disputes.php +++ b/tests/Mocks/Responses/Disputes.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait Disputes { /** diff --git a/tests/Mocks/Responses/DisputesActions.php b/tests/Mocks/Responses/DisputesActions.php index 75650939..68fa3d98 100644 --- a/tests/Mocks/Responses/DisputesActions.php +++ b/tests/Mocks/Responses/DisputesActions.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait DisputesActions { /** diff --git a/tests/Mocks/Responses/Identity.php b/tests/Mocks/Responses/Identity.php index 3d0f619c..c63b2c32 100644 --- a/tests/Mocks/Responses/Identity.php +++ b/tests/Mocks/Responses/Identity.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait Identity { private function mockShowProfileInfoResponse(): array diff --git a/tests/Mocks/Responses/Invoices.php b/tests/Mocks/Responses/Invoices.php index f4abc6ce..241c14ba 100644 --- a/tests/Mocks/Responses/Invoices.php +++ b/tests/Mocks/Responses/Invoices.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait Invoices { /** diff --git a/tests/Mocks/Responses/InvoicesSearch.php b/tests/Mocks/Responses/InvoicesSearch.php index d5e4a744..0740c13b 100644 --- a/tests/Mocks/Responses/InvoicesSearch.php +++ b/tests/Mocks/Responses/InvoicesSearch.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait InvoicesSearch { /** diff --git a/tests/Mocks/Responses/InvoicesTemplates.php b/tests/Mocks/Responses/InvoicesTemplates.php index 5ff41d3e..1c1f16b8 100644 --- a/tests/Mocks/Responses/InvoicesTemplates.php +++ b/tests/Mocks/Responses/InvoicesTemplates.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait InvoicesTemplates { /** diff --git a/tests/Mocks/Responses/Orders.php b/tests/Mocks/Responses/Orders.php index 774f8895..f7f57d68 100644 --- a/tests/Mocks/Responses/Orders.php +++ b/tests/Mocks/Responses/Orders.php @@ -1,16 +1,14 @@ -jsonDecodeFunction()('{ "id": "5O190127TN364715T", "status": "CREATED", @@ -36,22 +34,22 @@ public function mockCreateOrdersResponse(): array "method": "POST" } ] - }', true); - } - - /** - * @return empty - */ - public function mockUpdateOrdersResponse() - { - return ''; - } - - /** - * @return array - */ - public function mockOrderDetailsResponse(): array - { + }', true); + } + + /** + * @return empty + */ + public function mockUpdateOrdersResponse() + { + return ''; + } + + /** + * @return array + */ + public function mockOrderDetailsResponse(): array + { return $this->jsonDecodeFunction()('{ "id": "5O190127TN364715T", "status": "PAYER_ACTION_REQUIRED", @@ -87,14 +85,14 @@ public function mockOrderDetailsResponse(): array "method": "GET" } ] - }', true); - } - - /** - * @return array - */ - public function mockOrderPaymentAuthorizedResponse(): array - { + }', true); + } + + /** + * @return array + */ + public function mockOrderPaymentAuthorizedResponse(): array + { return $this->jsonDecodeFunction()('{ "id": "5O190127TN364715T", "status": "COMPLETED", @@ -172,14 +170,14 @@ public function mockOrderPaymentAuthorizedResponse(): array "method": "GET" } ] - }', true); - } - - /** - * @return array - */ - public function mockOrderPaymentCapturedResponse(): array - { + }', true); + } + + /** + * @return array + */ + public function mockOrderPaymentCapturedResponse(): array + { return $this->jsonDecodeFunction()('{ "id": "5O190127TN364715T", "status": "COMPLETED", @@ -262,11 +260,11 @@ public function mockOrderPaymentCapturedResponse(): array "method": "GET" } ] - }', true); - } - - private function mockConfirmOrderResponse() - { + }', true); + } + + private function mockConfirmOrderResponse() + { return $this->jsonDecodeFunction()('{ "id": "5O190127TN364715T", "status": "PAYER_ACTION_REQUIRED", @@ -298,6 +296,6 @@ private function mockConfirmOrderResponse() "method": "GET" } ] -}', true); - } -} +}', true); + } +} diff --git a/tests/Mocks/Responses/PartnerReferrals.php b/tests/Mocks/Responses/PartnerReferrals.php index 8e690891..7d3336f4 100644 --- a/tests/Mocks/Responses/PartnerReferrals.php +++ b/tests/Mocks/Responses/PartnerReferrals.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait PartnerReferrals { private function mockCreatePartnerReferralsResponse(): array diff --git a/tests/Mocks/Responses/PaymentAuthorizations.php b/tests/Mocks/Responses/PaymentAuthorizations.php index b6f5d86b..c6560f7b 100644 --- a/tests/Mocks/Responses/PaymentAuthorizations.php +++ b/tests/Mocks/Responses/PaymentAuthorizations.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait PaymentAuthorizations { /** diff --git a/tests/Mocks/Responses/PaymentCaptures.php b/tests/Mocks/Responses/PaymentCaptures.php index df251348..256ad895 100644 --- a/tests/Mocks/Responses/PaymentCaptures.php +++ b/tests/Mocks/Responses/PaymentCaptures.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait PaymentCaptures { /** diff --git a/tests/Mocks/Responses/PaymentExperienceWebProfiles.php b/tests/Mocks/Responses/PaymentExperienceWebProfiles.php index 8c9fb442..14bda116 100644 --- a/tests/Mocks/Responses/PaymentExperienceWebProfiles.php +++ b/tests/Mocks/Responses/PaymentExperienceWebProfiles.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait PaymentExperienceWebProfiles { /** diff --git a/tests/Mocks/Responses/PaymentMethodsTokens.php b/tests/Mocks/Responses/PaymentMethodsTokens.php index 6574cc56..58778cb5 100644 --- a/tests/Mocks/Responses/PaymentMethodsTokens.php +++ b/tests/Mocks/Responses/PaymentMethodsTokens.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait PaymentMethodsTokens { /** diff --git a/tests/Mocks/Responses/PaymentRefunds.php b/tests/Mocks/Responses/PaymentRefunds.php index 33ba6c5d..268bd830 100644 --- a/tests/Mocks/Responses/PaymentRefunds.php +++ b/tests/Mocks/Responses/PaymentRefunds.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait PaymentRefunds { /** diff --git a/tests/Mocks/Responses/Payouts.php b/tests/Mocks/Responses/Payouts.php index 1bd88f80..5f1823e3 100644 --- a/tests/Mocks/Responses/Payouts.php +++ b/tests/Mocks/Responses/Payouts.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait Payouts { /** diff --git a/tests/Mocks/Responses/ReferencedPayouts.php b/tests/Mocks/Responses/ReferencedPayouts.php index 074bcf4f..e961438d 100644 --- a/tests/Mocks/Responses/ReferencedPayouts.php +++ b/tests/Mocks/Responses/ReferencedPayouts.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait ReferencedPayouts { /** diff --git a/tests/Mocks/Responses/Reporting.php b/tests/Mocks/Responses/Reporting.php index d2cfb609..20e1a853 100644 --- a/tests/Mocks/Responses/Reporting.php +++ b/tests/Mocks/Responses/Reporting.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait Reporting { /** diff --git a/tests/Mocks/Responses/Subscriptions.php b/tests/Mocks/Responses/Subscriptions.php index b8343b2d..32d5346f 100644 --- a/tests/Mocks/Responses/Subscriptions.php +++ b/tests/Mocks/Responses/Subscriptions.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait Subscriptions { /** diff --git a/tests/Mocks/Responses/Trackers.php b/tests/Mocks/Responses/Trackers.php index 44bd2633..6b19bb8e 100644 --- a/tests/Mocks/Responses/Trackers.php +++ b/tests/Mocks/Responses/Trackers.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait Trackers { /** diff --git a/tests/Mocks/Responses/WebHooks.php b/tests/Mocks/Responses/WebHooks.php index bc79de5d..70f8fb05 100644 --- a/tests/Mocks/Responses/WebHooks.php +++ b/tests/Mocks/Responses/WebHooks.php @@ -2,8 +2,6 @@ namespace Srmklive\PayPal\Tests\Mocks\Responses; -use GuzzleHttp\Utils; - trait WebHooks { /** diff --git a/tests/Unit/Client/BillingPlansTest.php b/tests/Unit/Client/BillingPlansTest.php index 628947a1..13a10eb5 100644 --- a/tests/Unit/Client/BillingPlansTest.php +++ b/tests/Unit/Client/BillingPlansTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/CatalogProductsTest.php b/tests/Unit/Client/CatalogProductsTest.php index 211c95c8..f10211e6 100644 --- a/tests/Unit/Client/CatalogProductsTest.php +++ b/tests/Unit/Client/CatalogProductsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/DisputeActionsTest.php b/tests/Unit/Client/DisputeActionsTest.php index 8866a054..f4466ce2 100644 --- a/tests/Unit/Client/DisputeActionsTest.php +++ b/tests/Unit/Client/DisputeActionsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/DisputesTest.php b/tests/Unit/Client/DisputesTest.php index cde084cd..278fce5f 100644 --- a/tests/Unit/Client/DisputesTest.php +++ b/tests/Unit/Client/DisputesTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/IdentityTest.php b/tests/Unit/Client/IdentityTest.php index 06d098a1..4d61f267 100644 --- a/tests/Unit/Client/IdentityTest.php +++ b/tests/Unit/Client/IdentityTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/InvoicesSearchTest.php b/tests/Unit/Client/InvoicesSearchTest.php index de212e17..ecc63a7d 100644 --- a/tests/Unit/Client/InvoicesSearchTest.php +++ b/tests/Unit/Client/InvoicesSearchTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/InvoicesTemplatesTest.php b/tests/Unit/Client/InvoicesTemplatesTest.php index 1bfdc5e4..29e443da 100644 --- a/tests/Unit/Client/InvoicesTemplatesTest.php +++ b/tests/Unit/Client/InvoicesTemplatesTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/InvoicesTest.php b/tests/Unit/Client/InvoicesTest.php index 59c434bf..7663b184 100644 --- a/tests/Unit/Client/InvoicesTest.php +++ b/tests/Unit/Client/InvoicesTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/OrdersTest.php b/tests/Unit/Client/OrdersTest.php index 6355b29a..ce2a60f5 100644 --- a/tests/Unit/Client/OrdersTest.php +++ b/tests/Unit/Client/OrdersTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/PartnerReferralsTest.php b/tests/Unit/Client/PartnerReferralsTest.php index 53a8a3ce..88889d83 100644 --- a/tests/Unit/Client/PartnerReferralsTest.php +++ b/tests/Unit/Client/PartnerReferralsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/PaymentAuthorizationsTest.php b/tests/Unit/Client/PaymentAuthorizationsTest.php index 435bb161..5a5db12b 100644 --- a/tests/Unit/Client/PaymentAuthorizationsTest.php +++ b/tests/Unit/Client/PaymentAuthorizationsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/PaymentCapturesTest.php b/tests/Unit/Client/PaymentCapturesTest.php index 5901a786..e7dcbb12 100644 --- a/tests/Unit/Client/PaymentCapturesTest.php +++ b/tests/Unit/Client/PaymentCapturesTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/PaymentExperienceWebProfilesTest.php b/tests/Unit/Client/PaymentExperienceWebProfilesTest.php index b69734ed..a6577e4b 100644 --- a/tests/Unit/Client/PaymentExperienceWebProfilesTest.php +++ b/tests/Unit/Client/PaymentExperienceWebProfilesTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/PaymentRefundsTest.php b/tests/Unit/Client/PaymentRefundsTest.php index 3bdcb247..e857868d 100644 --- a/tests/Unit/Client/PaymentRefundsTest.php +++ b/tests/Unit/Client/PaymentRefundsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockResponsePayloads; diff --git a/tests/Unit/Client/PayoutsTest.php b/tests/Unit/Client/PayoutsTest.php index ca4972e8..ecb0bee3 100644 --- a/tests/Unit/Client/PayoutsTest.php +++ b/tests/Unit/Client/PayoutsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/ReferencedPayoutsTest.php b/tests/Unit/Client/ReferencedPayoutsTest.php index 97b7aaa3..e2b85b22 100644 --- a/tests/Unit/Client/ReferencedPayoutsTest.php +++ b/tests/Unit/Client/ReferencedPayoutsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/ReportingTest.php b/tests/Unit/Client/ReportingTest.php index 3e917d0b..28af0ed0 100644 --- a/tests/Unit/Client/ReportingTest.php +++ b/tests/Unit/Client/ReportingTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/SubscriptionsTest.php b/tests/Unit/Client/SubscriptionsTest.php index 5998ed20..e1bf6d36 100644 --- a/tests/Unit/Client/SubscriptionsTest.php +++ b/tests/Unit/Client/SubscriptionsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/TrackersTest.php b/tests/Unit/Client/TrackersTest.php index 399274a9..dec1771a 100644 --- a/tests/Unit/Client/TrackersTest.php +++ b/tests/Unit/Client/TrackersTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/WebHooksEventsTest.php b/tests/Unit/Client/WebHooksEventsTest.php index eb2a5e95..53615124 100644 --- a/tests/Unit/Client/WebHooksEventsTest.php +++ b/tests/Unit/Client/WebHooksEventsTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/WebHooksTest.php b/tests/Unit/Client/WebHooksTest.php index ed8b78d9..05a9e48d 100644 --- a/tests/Unit/Client/WebHooksTest.php +++ b/tests/Unit/Client/WebHooksTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/Client/WebHooksVerificationTest.php b/tests/Unit/Client/WebHooksVerificationTest.php index 16057513..bb787fe7 100644 --- a/tests/Unit/Client/WebHooksVerificationTest.php +++ b/tests/Unit/Client/WebHooksVerificationTest.php @@ -2,7 +2,6 @@ namespace Srmklive\PayPal\Tests\Unit\Client; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockRequestPayloads; diff --git a/tests/Unit/ClientTest.php b/tests/Unit/ClientTest.php index 1d60b885..c7e6295d 100644 --- a/tests/Unit/ClientTest.php +++ b/tests/Unit/ClientTest.php @@ -3,7 +3,6 @@ namespace Srmklive\PayPal\Tests\Unit; use GuzzleHttp\Client as HttpClient; -use GuzzleHttp\Utils; use PHPUnit\Framework\TestCase; use Srmklive\PayPal\Tests\MockClientClasses; use Srmklive\PayPal\Tests\MockResponsePayloads;