Skip to content

Set build workflow PHP runtime to 8.4 to match lockfile constraints - #1

Merged
Vitexus merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job-build
Jun 5, 2026
Merged

Vitexus merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job-build

Conversation

Copilot AI commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

The build GitHub Actions job failed at composer install because the workflow ran on PHP 8.3 while composer.lock currently resolves packages requiring PHP 8.4+. This change aligns the CI runtime with the lockfile’s platform requirements.

  • Root cause addressed

    • Workflow used runner default PHP (8.3.6), which is incompatible with locked dev dependencies (phpunit/*, sebastian/*, symfony/* variants requiring >=8.4).
  • Workflow change

    • Updated .github/workflows/php.yml to explicitly provision PHP 8.4 before Composer validation/install steps.
  • Resulting behavior

    • composer install in CI now runs against a compatible PHP version instead of failing on platform requirement checks.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Set build workflow PHP runtime to 8.4 to match lockfile constraints Jun 5, 2026
Copilot AI requested a review from Vitexus June 5, 2026 22:04
@Vitexus
Vitexus marked this pull request as ready for review June 5, 2026 22:06
@Vitexus
Vitexus merged commit d3f6174 into main Jun 5, 2026
1 check passed
@Vitexus
Vitexus deleted the copilot/fix-failing-github-actions-job-build branch June 6, 2026 05:27
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