Skip to content

Fix build-test Actions failure by pinning Composer to PHP 8.4#1270

Draft
boonebgorges with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-failing-github-actions-job
Draft

Fix build-test Actions failure by pinning Composer to PHP 8.4#1270
boonebgorges with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

build-test failed during dependency install because the lockfile now resolves doctrine/instantiator to a version requiring php ^8.4, while the workflow’s Composer action was executing on PHP 8.2. This PR aligns the workflow runtime with the lockfile requirements.

  • Workflow change

    • Updated .github/workflows/phpunit.yml to set php_version: "8.4" on php-actions/composer@v6 in the build-test job.
  • Why this resolves the failure

    • Composer dependency resolution now runs under a PHP version compatible with the locked dev dependency graph used by PHPUnit.
- name: Composer
  uses: php-actions/composer@v6
  with:
    php_version: "8.4"

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build-test Fix build-test Actions failure by pinning Composer to PHP 8.4 Jul 26, 2026
Copilot AI requested a review from boonebgorges July 26, 2026 19:56
@boonebgorges boonebgorges reopened this Jul 26, 2026
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.

2 participants