Skip to content

Add Symfony 8 compatibility support#2982

Merged
overtrue merged 3 commits into
6.xfrom
codex/symfony-8-compat
Apr 3, 2026
Merged

Add Symfony 8 compatibility support#2982
overtrue merged 3 commits into
6.xfrom
codex/symfony-8-compat

Conversation

@overtrue

@overtrue overtrue commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • widen the Symfony component constraints in composer.json to include ^8.0
  • update the main PHPUnit workflow to actually provision the matrix PHP version via shivammathur/setup-php
  • add a dedicated PHP-8.4-symfony-8 job in .github/workflows/test.yml so Symfony 8 compatibility stays explicitly covered in CI

Testing

  • composer validate --no-check-publish
  • vendor/bin/phpunit
  • verified in a clean copy that composer update -W resolves to Symfony 8 packages successfully and vendor/bin/phpunit still passes

Copilot AI review requested due to automatic review settings April 3, 2026 12:41
@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
easywechat Ready Ready Preview, Comment Apr 3, 2026 0:59am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the library’s declared compatibility to Symfony 8 and updates CI so the PHP matrix versions are actually provisioned, with an explicit job ensuring Symfony 8 stays covered.

Changes:

  • Widen Symfony component version constraints in composer.json to include ^8.0.
  • Update the PHPUnit GitHub Actions job to install the requested matrix PHP version via shivammathur/setup-php.
  • Add a dedicated PHP-8.4-symfony-8 CI job that forces Symfony 8 dependencies and runs the test suite.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
composer.json Extends Symfony component constraints (runtime + dev) to support Symfony 8.
.github/workflows/test.yml Fixes PHP matrix provisioning and adds a dedicated Symfony 8 test job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/test.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@overtrue overtrue merged commit d7c72e3 into 6.x Apr 3, 2026
33 checks passed
@overtrue overtrue deleted the codex/symfony-8-compat branch April 3, 2026 13:00
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