Skip to content

Run the 1.x tests on PHP 8 under GitHub Actions - #42

Merged
TomK merged 1 commit into
1.0from
github-actions-ci-1.0
Oct 22, 2026
Merged

TomK merged 1 commit into
1.0from
github-actions-ci-1.0

Conversation

@TomK

@TomK TomK commented Oct 22, 2026

Copy link
Copy Markdown
Member

The 1.x line (1.6.10, used by Fortifi megameld) only had CircleCI on PHP 7, and its tests couldn't run on PHP 8 (phpunit 6).

  • CI: GitHub Actions on PHP 7.4 and 8.2–8.5 with APCu, replacing CircleCI.
  • Tests: phpunit 9.6; setUp/tearDown return void and string checks use assertStringContainsString. No source changes.
  • Composer: Composer blocks the pinned Symfony 3.4 packages over security advisories, so the root config turns that block off. Root config only applies when this repo is installed directly, not in projects that require it.

Test plan

  • 114 tests pass locally on PHP 7.4, 8.2 and 8.5 (1 skipped locally, needs APCu, enabled in CI). No deprecations from dispatch's own code; Symfony 3.4's http-foundation emits implicit-nullable deprecations on PHP 8.4+.

🤖 Generated with Claude Code

Replace CircleCI with a GitHub Actions matrix (PHP 7.4, 8.2-8.5, APCu
enabled), and move the tests to phpunit 9.6 so they run on PHP 8:
setUp/tearDown return void, and string haystacks use
assertStringContainsString. Drops the unused php-coveralls dev
dependency and phpunit config options phpunit 9 no longer reads.

Composer blocks the Symfony 3.4 packages this branch pins over security
advisories, so the root config allows them. It only applies when this
repository is installed directly, never to projects that depend on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TomK
TomK merged commit 6bc5bba into 1.0 Oct 22, 2026
5 checks passed
@TomK
TomK deleted the github-actions-ci-1.0 branch October 22, 2026 12:45
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