openai-php / openai-php/client

Dependency Updates (Guzzle, Pest & PHPStan)

Open
#800 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
5.8k
Forks
679
Avg merge
19m
Merged PRs (30d)
2

Description

  • Guzzle 8 should be supported. It still supports anything PHP 7.4 or above.
  • Pest 5 came out, but its PHP 8.4+ only. That complicates our CI pipeline, so I think best case is to drop Pest 3 and prepare once 8.2 is EOL to make a Pest 4 / Pest 5 split.
  • PHPStan is still v1 - moving to v2 makes a TON of errors. Due to our complex shape typing, this may be difficult.

Since userland is Http Factory, this is entirely dev dependencies. However the Laravel side does have guzzle 7 as a dependency.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the dependency manifests and CI configuration first, then assess the compatibility constraints for Guzzle 8, the Pest version transition, and PHPStan 2. Check the Laravel-side Guzzle dependency separately. Done means the intended dependency updates are applied without breaking the supported PHP matrix or leaving the reported PHPStan errors unresolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
ci-cd, testing, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.