Using cloudinary/cloudinary_php version 2.10.2
The latest version of Guzzle Promises was released on 21 May 2023 and was downloaded automatically as a dependency.
Describe the bug in a sentence or two.
After upgrading GuzzleHTTP via Composer the BaseAPIClient and ApiClient classes throw errors because of the removal of the GuzzleHTTP function API that was previously deprecated.
BaseAPIClient and APIClient use two functions that have now been removed from Guzzle Promises and these need to be updated.
Promise\promise_for() replaced with Promise\Create::promiseFor()Promise\rejection_for() replaced with Promise\Create::rejectionFor()
Bug report for Cloudinary PHP SDK
Using cloudinary/cloudinary_php version 2.10.2 The latest version of Guzzle Promises was released on 21 May 2023 and was downloaded automatically as a dependency.
Describe the bug in a sentence or two.
After upgrading GuzzleHTTP via Composer the BaseAPIClient and ApiClient classes throw errors because of the removal of the GuzzleHTTP function API that was previously deprecated.
BaseAPIClient and APIClient use two functions that have now been removed from Guzzle Promises and these need to be updated.
Promise\promise_for()
replaced withPromise\Create::promiseFor()
Promise\rejection_for()
replaced withPromise\Create::rejectionFor()
This has been clearly outlined here: https://github.com/guzzle/promises#upgrading-from-function-api
Issue Type (Can be multiple)
BUG: The entire package no longer works and multiple exceptions are thrown.
Steps to reproduce
Load the package and attempt to use any of the API calls.
Error screenshots or Stack Trace (if applicable)
Operating System
Environment and Frameworks (fill in the version numbers)
Repository
N/A