Skip to content

Set PHP 8.2 for dev - #132

Open
tijmenbruggeman wants to merge 2 commits into
tinify:masterfrom
wcreateweb:task/dev-8.2.0
Open

tijmenbruggeman wants to merge 2 commits into
tinify:masterfrom
wcreateweb:task/dev-8.2.0

Conversation

@tijmenbruggeman

@tijmenbruggeman tijmenbruggeman commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Currently we are using PHP 7.4 as the development version. Note, this is different from the runtime version which is >=5.3.0.

  • Updating the php platform allows us to use packages that are compatible with 8.2 which are more actively maintained.
  • the background async compression was using an old version of mozart as newer versions were only compatible with 8.2.
  • allows us to update php unit / mockery as later on

Out of scope

Summary by CodeRabbit

  • Chores
    • Updated the supported PHP version to 8.2.
    • Updated automated checks and tests to run on PHP 8.2.

@coderabbitai

coderabbitai Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Essentials

Run ID: 6ffa54d3-eb8f-4ae2-afcc-2377f15e5c43

📥 Commits

Reviewing files that changed from the base of the PR and between 724ac38 and 5e71aa9.

⛔ Files ignored due to path filters (1)
  • composer.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • .github/workflows/check-test.yml
  • composer.json

Included review availability: 4 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.


📝 Walkthrough

Walkthrough

The pull request changes the CI workflow matrices and Composer platform constraint from PHP 7.4 to PHP 8.2.

Changes

PHP 8.2 runtime alignment

Layer / File(s) Summary
Runtime configuration
.github/workflows/check-test.yml, composer.json
The check and test matrices now use PHP 8.2. Composer now requires PHP 8.2.0 as its platform version.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 5e71a

The change aligns Composer and CI with PHP 8.2, and the supplied evidence shows no concrete production or correctness risk blocking merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: updating the development PHP version to 8.2.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

A rabbit reads each line,
The patch grows clear beneath the moon,
Small changes hop in place,
Tests guard the garden path,
Reviews bloom before the dawn.

Comment @coderabbitai help to get the list of available commands.

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.

1 participant