From 9eb3d7fe6d94aab3c84d1644d356864a1b43b63c Mon Sep 17 00:00:00 2001 From: ClicShopping Date: Sat, 30 May 2020 08:59:44 +0200 Subject: [PATCH] composer libraries update --- shop/composer.lock | 50 +++++++++++------ .../External/vendor/composer/installed.json | 56 ++++++++++++------- .../vendor/stripe/stripe-php/CHANGELOG.md | 4 ++ .../External/vendor/stripe/stripe-php/VERSION | 2 +- .../stripe-php/lib/BaseStripeClient.php | 25 ++++++++- .../lib/Service/AbstractService.php | 5 ++ .../stripe-php/lib/Service/AccountService.php | 8 +-- .../lib/Service/ApplePayDomainService.php | 2 +- .../lib/Service/ApplicationFeeService.php | 4 +- .../lib/Service/BalanceTransactionService.php | 2 +- .../stripe-php/lib/Service/ChargeService.php | 2 +- .../lib/Service/Checkout/SessionService.php | 4 +- .../lib/Service/CountrySpecService.php | 2 +- .../stripe-php/lib/Service/CouponService.php | 2 +- .../lib/Service/CreditNoteService.php | 4 +- .../lib/Service/CustomerService.php | 8 +-- .../stripe-php/lib/Service/DisputeService.php | 2 +- .../stripe-php/lib/Service/EventService.php | 2 +- .../lib/Service/ExchangeRateService.php | 2 +- .../lib/Service/FileLinkService.php | 2 +- .../stripe-php/lib/Service/FileService.php | 2 +- .../lib/Service/InvoiceItemService.php | 2 +- .../stripe-php/lib/Service/InvoiceService.php | 4 +- .../Service/Issuing/AuthorizationService.php | 2 +- .../lib/Service/Issuing/CardService.php | 2 +- .../lib/Service/Issuing/CardholderService.php | 2 +- .../lib/Service/Issuing/DisputeService.php | 2 +- .../Service/Issuing/TransactionService.php | 2 +- .../lib/Service/OrderReturnService.php | 2 +- .../stripe-php/lib/Service/OrderService.php | 2 +- .../lib/Service/PaymentIntentService.php | 2 +- .../lib/Service/PaymentMethodService.php | 2 +- .../stripe-php/lib/Service/PayoutService.php | 2 +- .../stripe-php/lib/Service/PlanService.php | 2 +- .../stripe-php/lib/Service/PriceService.php | 2 +- .../stripe-php/lib/Service/ProductService.php | 2 +- .../Radar/EarlyFraudWarningService.php | 2 +- .../Service/Radar/ValueListItemService.php | 2 +- .../lib/Service/Radar/ValueListService.php | 2 +- .../stripe-php/lib/Service/RefundService.php | 2 +- .../Service/Reporting/ReportRunService.php | 2 +- .../Service/Reporting/ReportTypeService.php | 2 +- .../stripe-php/lib/Service/ReviewService.php | 2 +- .../lib/Service/SetupIntentService.php | 2 +- .../Sigma/ScheduledQueryRunService.php | 2 +- .../stripe-php/lib/Service/SkuService.php | 2 +- .../lib/Service/SubscriptionItemService.php | 4 +- .../Service/SubscriptionScheduleService.php | 2 +- .../lib/Service/SubscriptionService.php | 2 +- .../stripe-php/lib/Service/TaxRateService.php | 2 +- .../lib/Service/Terminal/LocationService.php | 2 +- .../lib/Service/Terminal/ReaderService.php | 2 +- .../stripe-php/lib/Service/TopupService.php | 2 +- .../lib/Service/TransferService.php | 4 +- .../lib/Service/WebhookEndpointService.php | 2 +- .../vendor/stripe/stripe-php/lib/Stripe.php | 2 +- .../Test/Fixtures/web/index.php | 2 +- .../Test/HttpClientTestCase.php | 2 +- .../http-client-contracts/composer.json | 2 +- .../symfony/service-contracts/CHANGELOG.md | 5 ++ .../vendor/symfony/service-contracts/LICENSE | 2 +- .../service-contracts/ServiceLocatorTrait.php | 4 ++ .../symfony/service-contracts/composer.json | 4 +- 63 files changed, 178 insertions(+), 109 deletions(-) create mode 100644 shop/includes/ClicShopping/External/vendor/symfony/service-contracts/CHANGELOG.md diff --git a/shop/composer.lock b/shop/composer.lock index 06cd8bfd2..b212e4099 100644 --- a/shop/composer.lock +++ b/shop/composer.lock @@ -637,16 +637,16 @@ }, { "name": "stripe/stripe-php", - "version": "v7.36.0", + "version": "v7.36.1", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "b0f4e9afe20285297fc48b06b28adcf88ac79e0d" + "reference": "80979c8959dff86bf7b0610e44599a67132ebcd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/b0f4e9afe20285297fc48b06b28adcf88ac79e0d", - "reference": "b0f4e9afe20285297fc48b06b28adcf88ac79e0d", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/80979c8959dff86bf7b0610e44599a67132ebcd3", + "reference": "80979c8959dff86bf7b0610e44599a67132ebcd3", "shasum": "" }, "require": { @@ -690,7 +690,7 @@ "payment processing", "stripe" ], - "time": "2020-05-22T02:18:11+00:00" + "time": "2020-05-28T18:11:30+00:00" }, { "name": "symfony/console", @@ -866,20 +866,20 @@ }, { "name": "symfony/http-client-contracts", - "version": "v2.1.1", + "version": "v2.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "e3ba2688594d8ef284f40348f7efb72cba4edec4" + "reference": "f8bed25edc964d015bcd87f1fec5734963931910" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/e3ba2688594d8ef284f40348f7efb72cba4edec4", - "reference": "e3ba2688594d8ef284f40348f7efb72cba4edec4", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/f8bed25edc964d015bcd87f1fec5734963931910", + "reference": "f8bed25edc964d015bcd87f1fec5734963931910", "shasum": "" }, "require": { - "php": "^7.2.5" + "php": ">=7.2.5" }, "suggest": { "symfony/http-client-implementation": "" @@ -933,7 +933,7 @@ "type": "tidelift" } ], - "time": "2020-05-09T18:37:03+00:00" + "time": "2020-05-25T17:37:45+00:00" }, { "name": "symfony/mime", @@ -1375,20 +1375,20 @@ }, { "name": "symfony/service-contracts", - "version": "v2.0.1", + "version": "v2.1.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "144c5e51266b281231e947b51223ba14acf1a749" + "reference": "66a8f0957a3ca54e4f724e49028ab19d75a8918b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/144c5e51266b281231e947b51223ba14acf1a749", - "reference": "144c5e51266b281231e947b51223ba14acf1a749", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/66a8f0957a3ca54e4f724e49028ab19d75a8918b", + "reference": "66a8f0957a3ca54e4f724e49028ab19d75a8918b", "shasum": "" }, "require": { - "php": "^7.2.5", + "php": ">=7.2.5", "psr/container": "^1.0" }, "suggest": { @@ -1397,7 +1397,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } }, "autoload": { @@ -1429,7 +1429,21 @@ "interoperability", "standards" ], - "time": "2019-11-18T17:27:11+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-05-20T17:43:50+00:00" } ], "packages-dev": [], diff --git a/shop/includes/ClicShopping/External/vendor/composer/installed.json b/shop/includes/ClicShopping/External/vendor/composer/installed.json index fc66a5ac9..bbc9860c6 100644 --- a/shop/includes/ClicShopping/External/vendor/composer/installed.json +++ b/shop/includes/ClicShopping/External/vendor/composer/installed.json @@ -654,17 +654,17 @@ }, { "name": "stripe/stripe-php", - "version": "v7.36.0", - "version_normalized": "7.36.0.0", + "version": "v7.36.1", + "version_normalized": "7.36.1.0", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "b0f4e9afe20285297fc48b06b28adcf88ac79e0d" + "reference": "80979c8959dff86bf7b0610e44599a67132ebcd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/b0f4e9afe20285297fc48b06b28adcf88ac79e0d", - "reference": "b0f4e9afe20285297fc48b06b28adcf88ac79e0d", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/80979c8959dff86bf7b0610e44599a67132ebcd3", + "reference": "80979c8959dff86bf7b0610e44599a67132ebcd3", "shasum": "" }, "require": { @@ -680,7 +680,7 @@ "squizlabs/php_codesniffer": "^3.3", "symfony/process": "~3.4" }, - "time": "2020-05-22T02:18:11+00:00", + "time": "2020-05-28T18:11:30+00:00", "type": "library", "extra": { "branch-alias": { @@ -889,26 +889,26 @@ }, { "name": "symfony/http-client-contracts", - "version": "v2.1.1", - "version_normalized": "2.1.1.0", + "version": "v2.1.2", + "version_normalized": "2.1.2.0", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "e3ba2688594d8ef284f40348f7efb72cba4edec4" + "reference": "f8bed25edc964d015bcd87f1fec5734963931910" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/e3ba2688594d8ef284f40348f7efb72cba4edec4", - "reference": "e3ba2688594d8ef284f40348f7efb72cba4edec4", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/f8bed25edc964d015bcd87f1fec5734963931910", + "reference": "f8bed25edc964d015bcd87f1fec5734963931910", "shasum": "" }, "require": { - "php": "^7.2.5" + "php": ">=7.2.5" }, "suggest": { "symfony/http-client-implementation": "" }, - "time": "2020-05-09T18:37:03+00:00", + "time": "2020-05-25T17:37:45+00:00", "type": "library", "extra": { "branch-alias": { @@ -1412,31 +1412,31 @@ }, { "name": "symfony/service-contracts", - "version": "v2.0.1", - "version_normalized": "2.0.1.0", + "version": "v2.1.2", + "version_normalized": "2.1.2.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "144c5e51266b281231e947b51223ba14acf1a749" + "reference": "66a8f0957a3ca54e4f724e49028ab19d75a8918b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/144c5e51266b281231e947b51223ba14acf1a749", - "reference": "144c5e51266b281231e947b51223ba14acf1a749", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/66a8f0957a3ca54e4f724e49028ab19d75a8918b", + "reference": "66a8f0957a3ca54e4f724e49028ab19d75a8918b", "shasum": "" }, "require": { - "php": "^7.2.5", + "php": ">=7.2.5", "psr/container": "^1.0" }, "suggest": { "symfony/service-implementation": "" }, - "time": "2019-11-18T17:27:11+00:00", + "time": "2020-05-20T17:43:50+00:00", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } }, "installation-source": "dist", @@ -1468,6 +1468,20 @@ "interfaces", "interoperability", "standards" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } ] } ] diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/CHANGELOG.md b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/CHANGELOG.md index a6e3abedc..66f55f08f 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/CHANGELOG.md +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 7.36.1 - 2020-05-28 +* [#938](https://github.com/stripe/stripe-php/pull/938) Remove extra array_keys() call. +* [#942](https://github.com/stripe/stripe-php/pull/942) fix autopagination for service methods + ## 7.36.0 - 2020-05-21 * [#937](https://github.com/stripe/stripe-php/pull/937) Add support for `ae_trn`, `cl_tin` and `sa_vat` as `type` on `TaxId` diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/VERSION b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/VERSION index 0391f8e3f..506a6c5f6 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/VERSION +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/VERSION @@ -1 +1 @@ -7.36.0 +7.36.1 diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/BaseStripeClient.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/BaseStripeClient.php index 125b51368..e5482576d 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/BaseStripeClient.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/BaseStripeClient.php @@ -139,6 +139,30 @@ public function request($method, $path, $params, $opts) return $obj; } + /** + * Sends a request to Stripe's API. + * + * @param string $method the HTTP method + * @param string $path the path of the request + * @param array $params the parameters of the request + * @param array|\Stripe\Util\RequestOptions $opts the special modifiers of the request + * + * @return \Stripe\Collection of ApiResources + */ + public function requestCollection($method, $path, $params, $opts) + { + $obj = $this->request($method, $path, $params, $opts); + if (!($obj instanceof \Stripe\Collection)) { + $received_class = \get_class($obj); + $msg = "Expected to receive `Stripe\\Collection` object from Stripe API. Instead received `{$received_class}`."; + + throw new \Stripe\Exception\UnexpectedValueException($msg); + } + $obj->setFilters($params); + + return $obj; + } + /** * @param \Stripe\Util\RequestOptions $opts * @@ -234,7 +258,6 @@ private function validateConfig($config) } // check absence of extra keys - $validConfigKeys = \array_keys($this->getDefaultConfig()); $extraConfigKeys = \array_diff(\array_keys($config), \array_keys($this->getDefaultConfig())); if (!empty($extraConfigKeys)) { throw new \Stripe\Exception\InvalidArgumentException('Found unknown key(s) in configuration array: ' . \implode(',', $extraConfigKeys)); diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AbstractService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AbstractService.php index 2cc759c07..ed092c8b8 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AbstractService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AbstractService.php @@ -59,6 +59,11 @@ protected function request($method, $path, $params, $opts) return $this->getClient()->request($method, $path, static::formatParams($params), $opts); } + protected function requestCollection($method, $path, $params, $opts) + { + return $this->getClient()->requestCollection($method, $path, static::formatParams($params), $opts); + } + protected function buildPath($basePath, ...$ids) { foreach ($ids as $id) { diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AccountService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AccountService.php index 2963125b1..660d3bcbe 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AccountService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/AccountService.php @@ -17,7 +17,7 @@ class AccountService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/accounts', $params, $opts); + return $this->requestCollection('get', '/v1/accounts', $params, $opts); } /** @@ -35,7 +35,7 @@ public function all($params = null, $opts = null) */ public function allCapabilities($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/accounts/%s/capabilities', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/accounts/%s/capabilities', $parentId), $params, $opts); } /** @@ -51,7 +51,7 @@ public function allCapabilities($parentId, $params = null, $opts = null) */ public function allExternalAccounts($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/accounts/%s/external_accounts', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/accounts/%s/external_accounts', $parentId), $params, $opts); } /** @@ -69,7 +69,7 @@ public function allExternalAccounts($parentId, $params = null, $opts = null) */ public function allPersons($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/accounts/%s/persons', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/accounts/%s/persons', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplePayDomainService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplePayDomainService.php index 90b322668..d8a079035 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplePayDomainService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplePayDomainService.php @@ -16,7 +16,7 @@ class ApplePayDomainService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/apple_pay/domains', $params, $opts); + return $this->requestCollection('get', '/v1/apple_pay/domains', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplicationFeeService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplicationFeeService.php index 67cb75bc4..6a93316c3 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplicationFeeService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ApplicationFeeService.php @@ -17,7 +17,7 @@ class ApplicationFeeService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/application_fees', $params, $opts); + return $this->requestCollection('get', '/v1/application_fees', $params, $opts); } /** @@ -37,7 +37,7 @@ public function all($params = null, $opts = null) */ public function allRefunds($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/application_fees/%s/refunds', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/application_fees/%s/refunds', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/BalanceTransactionService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/BalanceTransactionService.php index 17113486e..61d78191a 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/BalanceTransactionService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/BalanceTransactionService.php @@ -21,7 +21,7 @@ class BalanceTransactionService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/balance_transactions', $params, $opts); + return $this->requestCollection('get', '/v1/balance_transactions', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ChargeService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ChargeService.php index 2bcb92e84..f09695c03 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ChargeService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ChargeService.php @@ -17,7 +17,7 @@ class ChargeService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/charges', $params, $opts); + return $this->requestCollection('get', '/v1/charges', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Checkout/SessionService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Checkout/SessionService.php index 080914d34..445b6d5f4 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Checkout/SessionService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Checkout/SessionService.php @@ -16,7 +16,7 @@ class SessionService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/checkout/sessions', $params, $opts); + return $this->requestCollection('get', '/v1/checkout/sessions', $params, $opts); } /** @@ -35,7 +35,7 @@ public function all($params = null, $opts = null) */ public function allLineItems($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/checkout/sessions/%s/line_items', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/checkout/sessions/%s/line_items', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CountrySpecService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CountrySpecService.php index 49fd860fe..65e59b960 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CountrySpecService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CountrySpecService.php @@ -16,7 +16,7 @@ class CountrySpecService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/country_specs', $params, $opts); + return $this->requestCollection('get', '/v1/country_specs', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CouponService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CouponService.php index 76bec8a4f..af92e1537 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CouponService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CouponService.php @@ -16,7 +16,7 @@ class CouponService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/coupons', $params, $opts); + return $this->requestCollection('get', '/v1/coupons', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CreditNoteService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CreditNoteService.php index f511733fe..cfb368700 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CreditNoteService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CreditNoteService.php @@ -16,7 +16,7 @@ class CreditNoteService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/credit_notes', $params, $opts); + return $this->requestCollection('get', '/v1/credit_notes', $params, $opts); } /** @@ -34,7 +34,7 @@ public function all($params = null, $opts = null) */ public function allLines($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/credit_notes/%s/lines', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/credit_notes/%s/lines', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CustomerService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CustomerService.php index 64aaa3ca6..2feafd375 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CustomerService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/CustomerService.php @@ -17,7 +17,7 @@ class CustomerService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/customers', $params, $opts); + return $this->requestCollection('get', '/v1/customers', $params, $opts); } /** @@ -34,7 +34,7 @@ public function all($params = null, $opts = null) */ public function allBalanceTransactions($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/customers/%s/balance_transactions', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/customers/%s/balance_transactions', $parentId), $params, $opts); } /** @@ -50,7 +50,7 @@ public function allBalanceTransactions($parentId, $params = null, $opts = null) */ public function allSources($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/customers/%s/sources', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/customers/%s/sources', $parentId), $params, $opts); } /** @@ -66,7 +66,7 @@ public function allSources($parentId, $params = null, $opts = null) */ public function allTaxIds($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/customers/%s/tax_ids', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/customers/%s/tax_ids', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/DisputeService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/DisputeService.php index e080a635e..39502f4f5 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/DisputeService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/DisputeService.php @@ -16,7 +16,7 @@ class DisputeService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/disputes', $params, $opts); + return $this->requestCollection('get', '/v1/disputes', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/EventService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/EventService.php index 14b7c6aa6..33bfbcdd8 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/EventService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/EventService.php @@ -20,7 +20,7 @@ class EventService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/events', $params, $opts); + return $this->requestCollection('get', '/v1/events', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ExchangeRateService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ExchangeRateService.php index 5776df415..4df4a8b73 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ExchangeRateService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ExchangeRateService.php @@ -17,7 +17,7 @@ class ExchangeRateService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/exchange_rates', $params, $opts); + return $this->requestCollection('get', '/v1/exchange_rates', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileLinkService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileLinkService.php index 6ce9d2e4d..3506383c3 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileLinkService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileLinkService.php @@ -16,7 +16,7 @@ class FileLinkService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/file_links', $params, $opts); + return $this->requestCollection('get', '/v1/file_links', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileService.php index f3570d3f6..ac9945abb 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/FileService.php @@ -18,7 +18,7 @@ class FileService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/files', $params, $opts); + return $this->requestCollection('get', '/v1/files', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceItemService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceItemService.php index 833ce5c2e..6647ac28a 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceItemService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceItemService.php @@ -17,7 +17,7 @@ class InvoiceItemService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/invoiceitems', $params, $opts); + return $this->requestCollection('get', '/v1/invoiceitems', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceService.php index 1abf5783e..31d3766a5 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/InvoiceService.php @@ -18,7 +18,7 @@ class InvoiceService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/invoices', $params, $opts); + return $this->requestCollection('get', '/v1/invoices', $params, $opts); } /** @@ -37,7 +37,7 @@ public function all($params = null, $opts = null) */ public function allLines($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/invoices/%s/lines', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/invoices/%s/lines', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php index 95b49504a..f5b013d1b 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php @@ -18,7 +18,7 @@ class AuthorizationService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/issuing/authorizations', $params, $opts); + return $this->requestCollection('get', '/v1/issuing/authorizations', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php index 3b16fa77b..d4a2dad2a 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php @@ -18,7 +18,7 @@ class CardService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/issuing/cards', $params, $opts); + return $this->requestCollection('get', '/v1/issuing/cards', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php index eb50490d3..10e3a35a8 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php @@ -18,7 +18,7 @@ class CardholderService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/issuing/cardholders', $params, $opts); + return $this->requestCollection('get', '/v1/issuing/cardholders', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php index 667249046..a1e08b4dd 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php @@ -18,7 +18,7 @@ class DisputeService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/issuing/disputes', $params, $opts); + return $this->requestCollection('get', '/v1/issuing/disputes', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php index c77200e0e..56773ded1 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php @@ -18,7 +18,7 @@ class TransactionService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/issuing/transactions', $params, $opts); + return $this->requestCollection('get', '/v1/issuing/transactions', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php index 6ca6cf46f..cdb27a3bb 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php @@ -17,7 +17,7 @@ class OrderReturnService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/order_returns', $params, $opts); + return $this->requestCollection('get', '/v1/order_returns', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderService.php index eb04d1caf..c08eafd32 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/OrderService.php @@ -17,7 +17,7 @@ class OrderService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/orders', $params, $opts); + return $this->requestCollection('get', '/v1/orders', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php index 5dac7c306..616631a4c 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php @@ -16,7 +16,7 @@ class PaymentIntentService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/payment_intents', $params, $opts); + return $this->requestCollection('get', '/v1/payment_intents', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentMethodService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentMethodService.php index b92fd769f..851164c2f 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentMethodService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PaymentMethodService.php @@ -16,7 +16,7 @@ class PaymentMethodService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/payment_methods', $params, $opts); + return $this->requestCollection('get', '/v1/payment_methods', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PayoutService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PayoutService.php index 6f1a73429..610d02cb9 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PayoutService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PayoutService.php @@ -18,7 +18,7 @@ class PayoutService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/payouts', $params, $opts); + return $this->requestCollection('get', '/v1/payouts', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PlanService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PlanService.php index f5c772047..8cc486a0a 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PlanService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PlanService.php @@ -16,7 +16,7 @@ class PlanService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/plans', $params, $opts); + return $this->requestCollection('get', '/v1/plans', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PriceService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PriceService.php index 8e57569c5..f1463b0dc 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PriceService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/PriceService.php @@ -16,7 +16,7 @@ class PriceService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/prices', $params, $opts); + return $this->requestCollection('get', '/v1/prices', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ProductService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ProductService.php index 0ce24f7b7..7e217b285 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ProductService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ProductService.php @@ -17,7 +17,7 @@ class ProductService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/products', $params, $opts); + return $this->requestCollection('get', '/v1/products', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php index 7c08978f7..ffe17d323 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php @@ -16,7 +16,7 @@ class EarlyFraudWarningService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/radar/early_fraud_warnings', $params, $opts); + return $this->requestCollection('get', '/v1/radar/early_fraud_warnings', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php index fc8da729b..8d3277624 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php @@ -18,7 +18,7 @@ class ValueListItemService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/radar/value_list_items', $params, $opts); + return $this->requestCollection('get', '/v1/radar/value_list_items', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php index 9c8480934..21616ad79 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php @@ -18,7 +18,7 @@ class ValueListService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/radar/value_lists', $params, $opts); + return $this->requestCollection('get', '/v1/radar/value_lists', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/RefundService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/RefundService.php index d25fa4dc5..207c9a4b5 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/RefundService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/RefundService.php @@ -19,7 +19,7 @@ class RefundService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/refunds', $params, $opts); + return $this->requestCollection('get', '/v1/refunds', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportRunService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportRunService.php index dfe3b84ed..ea9dfa4cd 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportRunService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportRunService.php @@ -17,7 +17,7 @@ class ReportRunService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/reporting/report_runs', $params, $opts); + return $this->requestCollection('get', '/v1/reporting/report_runs', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportTypeService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportTypeService.php index 706ee04e2..d640db9eb 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportTypeService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Reporting/ReportTypeService.php @@ -17,7 +17,7 @@ class ReportTypeService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/reporting/report_types', $params, $opts); + return $this->requestCollection('get', '/v1/reporting/report_types', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ReviewService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ReviewService.php index e5a4eab73..2900a3ded 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ReviewService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/ReviewService.php @@ -18,7 +18,7 @@ class ReviewService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/reviews', $params, $opts); + return $this->requestCollection('get', '/v1/reviews', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SetupIntentService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SetupIntentService.php index 908acd5d6..d346db6f8 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SetupIntentService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SetupIntentService.php @@ -16,7 +16,7 @@ class SetupIntentService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/setup_intents', $params, $opts); + return $this->requestCollection('get', '/v1/setup_intents', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Sigma/ScheduledQueryRunService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Sigma/ScheduledQueryRunService.php index b220c5901..dbb93ddec 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Sigma/ScheduledQueryRunService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Sigma/ScheduledQueryRunService.php @@ -16,7 +16,7 @@ class ScheduledQueryRunService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/sigma/scheduled_query_runs', $params, $opts); + return $this->requestCollection('get', '/v1/sigma/scheduled_query_runs', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SkuService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SkuService.php index 5cf4f0306..d8e54a83a 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SkuService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SkuService.php @@ -17,7 +17,7 @@ class SkuService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/skus', $params, $opts); + return $this->requestCollection('get', '/v1/skus', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionItemService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionItemService.php index 1b9eb65f0..e64255fa2 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionItemService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionItemService.php @@ -16,7 +16,7 @@ class SubscriptionItemService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/subscription_items', $params, $opts); + return $this->requestCollection('get', '/v1/subscription_items', $params, $opts); } /** @@ -41,7 +41,7 @@ public function all($params = null, $opts = null) */ public function allUsageRecordSummaries($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/subscription_items/%s/usage_record_summaries', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/subscription_items/%s/usage_record_summaries', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php index 9869dc6d6..1d2e82e74 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php @@ -16,7 +16,7 @@ class SubscriptionScheduleService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/subscription_schedules', $params, $opts); + return $this->requestCollection('get', '/v1/subscription_schedules', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php index 972f91818..0a818c2bf 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php @@ -17,7 +17,7 @@ class SubscriptionService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/subscriptions', $params, $opts); + return $this->requestCollection('get', '/v1/subscriptions', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TaxRateService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TaxRateService.php index 8b4a37e9d..34aee9bee 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TaxRateService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TaxRateService.php @@ -17,7 +17,7 @@ class TaxRateService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/tax_rates', $params, $opts); + return $this->requestCollection('get', '/v1/tax_rates', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/LocationService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/LocationService.php index 5cc95cfd0..048093494 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/LocationService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/LocationService.php @@ -16,7 +16,7 @@ class LocationService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/terminal/locations', $params, $opts); + return $this->requestCollection('get', '/v1/terminal/locations', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/ReaderService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/ReaderService.php index 8dfda9db6..f52ac10ee 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/ReaderService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/Terminal/ReaderService.php @@ -16,7 +16,7 @@ class ReaderService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/terminal/readers', $params, $opts); + return $this->requestCollection('get', '/v1/terminal/readers', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TopupService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TopupService.php index 289540496..5bb0bdcb0 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TopupService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TopupService.php @@ -16,7 +16,7 @@ class TopupService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/topups', $params, $opts); + return $this->requestCollection('get', '/v1/topups', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TransferService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TransferService.php index 830823ca9..2f6acebfa 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TransferService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/TransferService.php @@ -18,7 +18,7 @@ class TransferService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/transfers', $params, $opts); + return $this->requestCollection('get', '/v1/transfers', $params, $opts); } /** @@ -38,7 +38,7 @@ public function all($params = null, $opts = null) */ public function allReversals($parentId, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/transfers/%s/reversals', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/transfers/%s/reversals', $parentId), $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/WebhookEndpointService.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/WebhookEndpointService.php index b90e3fe30..eeac8fd84 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/WebhookEndpointService.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Service/WebhookEndpointService.php @@ -16,7 +16,7 @@ class WebhookEndpointService extends \Stripe\Service\AbstractService */ public function all($params = null, $opts = null) { - return $this->request('get', '/v1/webhook_endpoints', $params, $opts); + return $this->requestCollection('get', '/v1/webhook_endpoints', $params, $opts); } /** diff --git a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Stripe.php b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Stripe.php index 24a3faf2a..abea85d9a 100644 --- a/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Stripe.php +++ b/shop/includes/ClicShopping/External/vendor/stripe/stripe-php/lib/Stripe.php @@ -58,7 +58,7 @@ class Stripe /** @var float Initial delay between retries, in seconds */ private static $initialNetworkRetryDelay = 0.5; - const VERSION = '7.36.0'; + const VERSION = '7.36.1'; /** * @return string the API key used for requests diff --git a/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/Fixtures/web/index.php b/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/Fixtures/web/index.php index d2990ac9e..96486ca31 100644 --- a/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/Fixtures/web/index.php +++ b/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/Fixtures/web/index.php @@ -116,7 +116,7 @@ echo '<1>'; @ob_flush(); flush(); - usleep(600000); + usleep(500000); echo '<2>'; exit; diff --git a/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/HttpClientTestCase.php b/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/HttpClientTestCase.php index ffbf4a42c..a60d8057e 100644 --- a/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/HttpClientTestCase.php +++ b/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/Test/HttpClientTestCase.php @@ -745,7 +745,7 @@ public function testTimeoutIsNotAFatalError() usleep(300000); // wait for the previous test to release the server $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/timeout-body', [ - 'timeout' => 0.3, + 'timeout' => 0.25, ]); try { diff --git a/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/composer.json b/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/composer.json index 31eac967e..b8ddc4cfd 100644 --- a/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/composer.json +++ b/shop/includes/ClicShopping/External/vendor/symfony/http-client-contracts/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^7.2.5" + "php": ">=7.2.5" }, "suggest": { "symfony/http-client-implementation": "" diff --git a/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/CHANGELOG.md b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/CHANGELOG.md new file mode 100644 index 000000000..e9847779b --- /dev/null +++ b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/CHANGELOG.md @@ -0,0 +1,5 @@ +CHANGELOG +========= + +The changelog is maintained for all Symfony contracts at the following URL: +https://github.com/symfony/contracts/blob/master/CHANGELOG.md diff --git a/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/LICENSE b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/LICENSE index 3f853aaf3..69d925ba7 100644 --- a/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/LICENSE +++ b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2018-2019 Fabien Potencier +Copyright (c) 2018-2020 Fabien Potencier Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/ServiceLocatorTrait.php b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/ServiceLocatorTrait.php index 4ec6eb427..0b4d60aff 100644 --- a/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/ServiceLocatorTrait.php +++ b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/ServiceLocatorTrait.php @@ -14,6 +14,10 @@ use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; +// Help opcache.preload discover always-needed symbols +class_exists(ContainerExceptionInterface::class); +class_exists(NotFoundExceptionInterface::class); + /** * A trait to help implement ServiceProviderInterface. * diff --git a/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/composer.json b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/composer.json index cbd491b59..ae7ed66c4 100644 --- a/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/composer.json +++ b/shop/includes/ClicShopping/External/vendor/symfony/service-contracts/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^7.2.5", + "php": ">=7.2.5", "psr/container": "^1.0" }, "suggest": { @@ -28,7 +28,7 @@ "minimum-stability": "dev", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } } }