Skip to content

Add php 8.4 support - #18

Merged
thijskok merged 1 commit into
mainfrom
upgrade-to-php84
Sep 7, 2026
Merged

thijskok merged 1 commit into
mainfrom
upgrade-to-php84

Conversation

@stefanius

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The Composer PHP constraint change appears to drop 8.2/8.3 support (and CI no longer tests them), which conflicts with the stated goal of “adding” 8.4 support.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR aims to add PHP 8.4 support by updating the package’s PHP version constraint and aligning CircleCI to run on PHP 8.4.

Changes:

  • Updated composer.json to require PHP ^8.4.
  • Updated CircleCI Docker images from cimg/php:8.2 to cimg/php:8.4 across build, analysis, and test jobs.
File summaries
File Description
composer.json Updates the Composer PHP platform constraint to ^8.4.
.circleci/config.yml Switches all CircleCI jobs to run on the cimg/php:8.4 image.
Review details

Suppressed comments (2)

.circleci/config.yml:31

  • All CI jobs were switched from PHP 8.2 to 8.4, which removes test coverage for PHP 8.2/8.3; if the package is intended to support 8.2+ (as before), consider running the workflow on a PHP-version matrix instead of only 8.4.
        docker:
            - image: cimg/php:8.4

.circleci/config.yml:60

  • All CI jobs were switched from PHP 8.2 to 8.4, which removes test coverage for PHP 8.2/8.3; if the package is intended to support 8.2+ (as before), consider running the workflow on a PHP-version matrix instead of only 8.4.
        docker:
            - image: cimg/php:8.4

  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread composer.json
Comment thread .circleci/config.yml
Comment on lines 10 to 12
docker:
- image: cimg/php:8.2
- image: cimg/php:8.4

@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@thijskok
thijskok merged commit bcbc46f into main Sep 7, 2026
8 checks passed
@thijskok
thijskok deleted the upgrade-to-php84 branch September 7, 2026 11:47
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.

3 participants