Avoid "functions" from dependencies#2712
Merged
Nyholm merged 2 commits intoguzzle:masterfrom Sep 30, 2020
GrahamCampbell:no-functions
Merged
Avoid "functions" from dependencies#2712Nyholm merged 2 commits intoguzzle:masterfrom GrahamCampbell:no-functions
Nyholm merged 2 commits intoguzzle:masterfrom
GrahamCampbell:no-functions
Conversation
This was referenced Jun 27, 2020
Closed
Nyholm
reviewed
Sep 20, 2020
Member
Nyholm
left a comment
There was a problem hiding this comment.
All these changes looks good.
Thank you.
Member
|
The Promises package and the PSR7 package is now tagged. |
20 tasks
andrewminion-luminfire
pushed a commit
to macbookandrew/hubspot-api-php
that referenced
this pull request
Nov 3, 2021
Result of guzzle/guzzle#2712 Fixes HubSpot#73 and HubSpot/hubspot-php#363
dallasread
added a commit
to dnsimple/dnsimple-php
that referenced
this pull request
Nov 19, 2021
9 tasks
BrandonSurowiec
added a commit
to BrandonSurowiec/salesforce-laravel-oauth2-rest
that referenced
this pull request
Sep 23, 2023
Replace with the new `GuzzleHttp\Psr7\Utils::` static methods: guzzle/guzzle#2712
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The aim of this PR is to avoid the use of functions provided by our dependencies. This means using their new Utils classes, and bumping their minimum versions (
guzzlehttp/promises:^1.4;guzzlehttp/psr7:^1.7). Note that similar changes were already implemented for Guzzle 7.0 itself, but not its dependencies, which we are going to address now, for Guzzle 7.1.TODO:
guzzlehttp/promiseschanges (Extracted functions to static methods promises#113)guzzlehttp/psr7changes (Extracted functions to static methods psr7#345)composer.jsonwith^1.4and^1.7guzzlehttp/promises1.4.0 and remove@devguzzlehttp/psr71.7.0 and remove@devMappings:
GuzzleHttp\Promise\queueGuzzleHttp\Promise\Utils::queueGuzzleHttp\Promise\taskGuzzleHttp\Promise\Utils::taskGuzzleHttp\Promise\promise_forGuzzleHttp\Promise\Create::promiseForGuzzleHttp\Promise\rejection_forGuzzleHttp\Promise\Create::rejectionForGuzzleHttp\Promise\exception_forGuzzleHttp\Promise\Create::exceptionForGuzzleHttp\Promise\iter_forGuzzleHttp\Promise\Create::iterForGuzzleHttp\Promise\inspectGuzzleHttp\Promise\Utils::inspectGuzzleHttp\Promise\inspect_allGuzzleHttp\Promise\Utils::inspectAllGuzzleHttp\Promise\unwrapGuzzleHttp\Promise\Utils::unwrapGuzzleHttp\Promise\allGuzzleHttp\Promise\Utils::allGuzzleHttp\Promise\someGuzzleHttp\Promise\Utils::someGuzzleHttp\Promise\anyGuzzleHttp\Promise\Utils::anyGuzzleHttp\Promise\settleGuzzleHttp\Promise\Utils::settleGuzzleHttp\Promise\eachGuzzleHttp\Promise\Each::ofGuzzleHttp\Promise\each_limitGuzzleHttp\Promise\Each::ofLimitGuzzleHttp\Promise\each_limit_allGuzzleHttp\Promise\Each::ofLimitAll!GuzzleHttp\Promise\is_fulfilledGuzzleHttp\Promise\Is::pendingGuzzleHttp\Promise\is_fulfilledGuzzleHttp\Promise\Is::fulfilledGuzzleHttp\Promise\is_rejectedGuzzleHttp\Promise\Is::rejectedGuzzleHttp\Promise\is_settledGuzzleHttp\Promise\Is::settledGuzzleHttp\Promise\coroutineGuzzleHttp\Promise\Coroutine::ofGuzzleHttp\Psr7\strGuzzleHttp\Psr7\Message::toStringGuzzleHttp\Psr7\uri_forGuzzleHttp\Psr7\Utils::uriForGuzzleHttp\Psr7\stream_forGuzzleHttp\Psr7\Utils::streamForGuzzleHttp\Psr7\parse_headerGuzzleHttp\Psr7\Header::parseGuzzleHttp\Psr7\normalize_headerGuzzleHttp\Psr7\Header::normalizeGuzzleHttp\Psr7\modify_requestGuzzleHttp\Psr7\Utils::modifyRequestGuzzleHttp\Psr7\rewind_bodyGuzzleHttp\Psr7\Message::rewindBodyGuzzleHttp\Psr7\try_fopenGuzzleHttp\Psr7\Utils::tryFopenGuzzleHttp\Psr7\copy_to_stringGuzzleHttp\Psr7\Utils::copyToStringGuzzleHttp\Psr7\copy_to_streamGuzzleHttp\Psr7\Utils::copyToStreamGuzzleHttp\Psr7\hashGuzzleHttp\Psr7\Utils::hashGuzzleHttp\Psr7\readlineGuzzleHttp\Psr7\Utils::readLineGuzzleHttp\Psr7\parse_requestGuzzleHttp\Psr7\Message::parseRequestGuzzleHttp\Psr7\parse_responseGuzzleHttp\Psr7\Message::parseResponseGuzzleHttp\Psr7\parse_queryGuzzleHttp\Psr7\Query::parseGuzzleHttp\Psr7\build_queryGuzzleHttp\Psr7\Query::buildGuzzleHttp\Psr7\mimetype_from_filenameGuzzleHttp\Psr7\MimeType::fromFilenameGuzzleHttp\Psr7\mimetype_from_extensionGuzzleHttp\Psr7\MimeType::fromExtensionGuzzleHttp\Psr7\_parse_messageGuzzleHttp\Psr7\Message::parseMessageGuzzleHttp\Psr7\_parse_request_uriGuzzleHttp\Psr7\Message::parseRequestUriGuzzleHttp\Psr7\get_message_body_summaryGuzzleHttp\Psr7\Message::bodySummaryGuzzleHttp\Psr7\_caseless_removeGuzzleHttp\Psr7\Utils::caselessRemoveCloses #2740.