Skip to content

Fix PHP 8.2 CI install failure by stabilizing Composer lock resolution - #1

Closed
nicknick-io with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-test-job-failure
Closed

Fix PHP 8.2 CI install failure by stabilizing Composer lock resolution#1
nicknick-io with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-test-job-failure

Conversation

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown

test (8.2) failed before test execution because composer.lock had drifted to PHP 8.4-only transitive dependencies (Symfony 8.x), making composer install unsatisfiable on PHP 8.2. This change re-aligns dependency resolution with the project’s supported runtime floor so the lock remains installable across the CI matrix.

  • Root cause addressed: lockfile/runtime mismatch

    • composer.lock contained packages requiring php >=8.4.1 while CI validates 8.1/8.2/8.3/8.4.
  • Dependency resolution constrained to supported floor

    • Added Composer platform pin in composer.json so dependency solving targets the minimum supported runtime.
  • Lockfile regenerated under the platform constraint

    • Updated composer.lock to compatible transitive versions (notably Symfony and PHPUnit dependency graph), removing PHP 8.4-only lock entries for shared CI jobs.
{
  "config": {
    "platform": {
      "php": "8.1.0"
    }
  }
}

Co-authored-by: nicknick-io <20723016+nicknick-io@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job test (8.2) Fix PHP 8.2 CI install failure by stabilizing Composer lock resolution Sep 2, 2026
Copilot AI requested a review from nicknick-io September 2, 2026 05:00
@nicknick-io
nicknick-io marked this pull request as ready for review September 2, 2026 05:03
@nicknick-io nicknick-io closed this Sep 6, 2026
@nicknick-io
nicknick-io deleted the copilot/fix-test-job-failure branch September 6, 2026 15:02
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