Skip to content

Feature/issue 11123#11168

Open
heissb2342 wants to merge 6 commits into
swagger-api:masterfrom
heissb2342:feature/issue_11123
Open

Feature/issue 11123#11168
heissb2342 wants to merge 6 commits into
swagger-api:masterfrom
heissb2342:feature/issue_11123

Conversation

@heissb2342

@heissb2342 heissb2342 commented Sep 15, 2021

Copy link
Copy Markdown

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: 3.0.0 branch for changes related to OpenAPI spec 3.0. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

fix #11123:
Updated guzzle to version 7.3 in composer.json and made sure, all existing tests ran successfully. To run the tests an update of the spec file used to generate the PHP petstore as well as a spinning method to make sure the changes done by the test were persisted was necessary. I also found another GuzzleHttp\PSR7 method (try_fopen) that needed to be replaced by its static counterpart for 7.3 (GuzzleHttp\PSR7 2.0). Also to be able to run composer install I needed to adapt the dummy values for gitUserId and gitRepoId in CodegenConfigurator to conform with composer 2.0 standards. This should not break anything for composer 1.* users but fixes the petstore client if one uses composer 2.0.

@mandrean @dkarlovi Please review, as this targets PHP in particular ;)

@heissb2342 heissb2342 marked this pull request as ready for review September 15, 2021 14:05
@averatec1337

Copy link
Copy Markdown

Could somebody take a look on this PR?

@katsew

katsew commented Mar 18, 2025

Copy link
Copy Markdown

Any update on this?
My tests failed since guzzle outputs deprecation warnings to stdout.
It's very helpful for me to this PR to be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PHP] Add support for guzzlehttp/guzzle:^7.3

3 participants