Skip to content

FLUX-839 - Test PHP 8.5 in CI - #6

Merged
qschmick merged 2 commits into
3.xfrom
FLUX-839/php-8.5-ci
Oct 1, 2026
Merged

qschmick merged 2 commits into
3.xfrom
FLUX-839/php-8.5-ci

Conversation

@qschmick

@qschmick qschmick commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Description

  • Runs the suite on 3.x. run-tests triggered only on main, so a PR into 3.x (the default branch) ran no tests. 3.x is added to both push and pull_request.
  • Tests PHP 8.5. The matrix is now [8.3, 8.4, 8.5] × Laravel [11.*, 12.*], with fail-fast: false.
  • Drops the 8.2 leg. require-dev has phpunit/phpunit ^12.0, which needs PHP 8.3+, so composer update fails on 8.2 before any test runs.
  • composer.json is unchanged: ^8.2.0 already allows 8.5.

Local run in php:8.5-cli (composer update --prefer-stable, then composer test): 7 tests, 13 assertions, exit 0, with 1 PHPUnit deprecation notice.

CI on this PR: all 6 run-tests legs green, plus PHPStan and styling.

Release Notes

CI only. No code changes.

Types of changes

  • Bugfix
  • New feature
  • Chore (mundane code change)
  • Maintenance (clean up)

Checklist

  • Unit tests pass locally
  • Added tests to code that was updated or edited
  • Updated/added documentation

Ticket: FLUX-839

run-tests only triggered on main, so PRs to 3.x (the default branch) ran no
tests. The matrix now covers PHP 8.2 to 8.5, with fail-fast off.
phpunit/phpunit ^12 requires PHP 8.3 or later, so composer update fails on 8.2
before any test runs.
@qschmick
qschmick marked this pull request as ready for review October 1, 2026 14:09
@qschmick
qschmick merged commit 3ecba74 into 3.x Oct 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant