Skip to content

chore: require PHP 8.3 - #5245

Merged
chubes4 merged 5 commits into
trunkfrom
chore/drop-php-8.2
Nov 9, 2026
Merged

chubes4 merged 5 commits into
trunkfrom
chore/drop-php-8.2

Conversation

@chubes4

@chubes4 chubes4 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

What

Raises the minimum PHP version from 8.2 to 8.3 for php-transformer and figma-transformer:

  • composer.json php: >=8.3, the platform pin is 8.3.0, and the lock content hashes are updated (no package changes). Requires PHP: 8.3 headers and README.
  • CI matrices are 8.3/8.4/8.5. The browser-proof steps that ran only on the 8.2 job (native document context, HTTP frontend save/reload, carousel save control, evidence upload) now run on the 8.3 job.
  • recognizer-compilation-scaling drops its PHP 8.2 exemption.

Why

  • PHP 8.2 leaves security support on 2026-12-31.
  • It is the slowest CI job by far: package tests took 2168s on 8.2, against 619–1053s on 8.3–8.5.

Order

Merge after Automattic/static-site-importer#2822. SSI's 8.2.0 platform pin would otherwise refuse the next Blocks Engine release.

Verification

This PR's CI on 8.3–8.5.


AI disclosure: Claude Opus (Anthropic) via Pi/Roadie made this change for Chris Huber.

PHP 8.2 leaves security support on 2026-12-31 and is the slowest CI job.
Both transformers now require PHP 8.3, CI tests 8.3 through 8.5, and the
browser-proof steps that ran on the 8.2 job run on the 8.3 job. The
recognizer scaling test no longer needs its PHP 8.2 exemption.
@chubes4
chubes4 merged commit ec41a40 into trunk Nov 9, 2026
16 checks passed
@chubes4
chubes4 deleted the chore/drop-php-8.2 branch November 9, 2026 17:37
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