Skip to content

chore: upgrade dependencies and toolchain (2026-05)#4

Draft
BJClark wants to merge 1 commit into
mainfrom
chore/upgrade-deps-2026-05
Draft

chore: upgrade dependencies and toolchain (2026-05)#4
BJClark wants to merge 1 commit into
mainfrom
chore/upgrade-deps-2026-05

Conversation

@BJClark
Copy link
Copy Markdown
Collaborator

@BJClark BJClark commented May 25, 2026

Summary

Routine dependency and toolchain refresh for sdk-php (2026-05).

  • Bump PHP constraint: >=7.4 -> >=8.2
  • Upgrade phpunit/phpunit: ^9.0 -> ^11.0 (major jump)
  • guzzlehttp/guzzle ^7.9 and ramsey/uuid ^4.7 already on latest stable majors -- no changes needed
  • Add .mise.toml pinning local PHP to 8.5.6
  • CI: explicitly set up PHP 8.4 via shivammathur/setup-php@v2, bump actions/cache v3 -> v4
  • Untrack .phpunit.result.cache and ignore .phpunit.cache/

Local verification

  • composer update clean, no security advisories
  • composer validate --strict passes
  • PHPUnit 11 boots and discovers tests successfully
  • Test suite itself hits a live API via KICKPLAN_API_KEY / KICKPLAN_BASE_URL; cannot reach it from this sandbox, so all six tests error on DNS. Marking draft so CI (which has secrets) can prove green before merge.
  • mise install failed to compile PHP 8.5.6 on this Mac (asdf php plugin build error); fell back to system PHP 8.4.7 for local validation. The .mise.toml pin should work in cleaner environments / CI runners.

Test plan

  • CI runs green with real KICKPLAN_* secrets
  • Confirm setup-php@v2 + PHP 8.4 works in CI

- Bump PHP constraint from >=7.4 to >=8.2
- Upgrade phpunit/phpunit from ^9.0 to ^11.0 (latest stable supporting PHP 8.2+)
- guzzlehttp/guzzle and ramsey/uuid already on latest majors
- Add .mise.toml pinning PHP 8.5.6 for local dev
- Pin shivammathur/setup-php@v2 with PHP 8.4 in CI
- Bump actions/cache from v3 to v4
- Untrack .phpunit.result.cache and ignore PHPUnit caches

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant