Skip to content

Test on PHP 8.5 and 8.6 - #126

Merged
freekmurze merged 1 commit into
mainfrom
ci/php-85-86
Nov 5, 2026
Merged

freekmurze merged 1 commit into
mainfrom
ci/php-85-86

Conversation

@freekmurze

@freekmurze freekmurze commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Run the complete suite on PHP 8.4, 8.5, and 8.6 with lowest and stable dependencies.
  • Upgrade Pest to 5.3 and the snapshots plugin to 2.4; migrate the PHPUnit configuration and replace removed Pest tap syntax without changing test coverage.
  • Use the normal no-coverage test command in CI; retain the separate coverage script and configured reports.
  • Drop PHP 7.4–8.2 from the development CI matrix because the current test stack requires PHP 8.4+. Production PHP and Symfony constraints are unchanged.

Validation

  • Reproduced the old Pest 1 startup failure on PHP 8.5.12 (implicit-nullability deprecations).
  • PHP 8.5.12: stable and lowest dependencies each pass 29 tests / 30 assertions.
  • Stable resolves Pest 5.3.5 / PHPUnit 13.4.5; lowest resolves Pest 5.3.0 / PHPUnit 13.3.6. Snapshot plugin 2.4.0 in both.
  • composer validate --strict and git diff --check pass.
  • Hosted verification complete on head cb0117b: all 13 checks pass (six push test jobs, six PR test jobs, and styling). Actual runtimes: PHP 8.4.27, 8.5.12, and 8.6.0-dev (61f6bc68d0071bdd756a9b6ee548b310e2835748); every lowest/stable job executes 29 tests / 30 assertions with no skips or PHP deprecations. See https://github.com/spatie/ssh/actions/runs/42016016482 and https://github.com/spatie/ssh/actions/runs/42016002195. Existing checkout Node/punycode deprecation warnings remain separate. PR is CLEAN/MERGEABLE; merge reserved for coordinator.

Upgrade the development test stack and PHPUnit configuration, preserving all existing test cases and production requirements.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1ab5e-c77c-712e-9618-3e2461980b23
@freekmurze
freekmurze merged commit 469acf0 into main Nov 5, 2026
13 checks passed
@freekmurze
freekmurze deleted the ci/php-85-86 branch November 5, 2026 12:43
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