Skip to content

Declare the PHP 8.3.36 minimum in composer.json, README and CI - #52

Merged
bonelifer merged 1 commit into
masterfrom
php-8336-declarations
Nov 2, 2026
Merged

bonelifer merged 1 commit into
masterfrom
php-8336-declarations

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Since #49, ext.php refuses to enable Contact Admin below PHP 8.3.36. Other places in the repository still said PHP 7.4, and that mismatch is now in the published 1.6.1-dev ZIP's composer.json.

Changes

  • composer.json: "php": ">=8.3.36" (was >=7.4). The phpBB constraint is unchanged.
  • README requirements: "PHP 8.3.36 or later". This replaces the PHP 7.4 line and the phpBB 4.0 / PHP 8.2 note, which no longer matters because the extension's own minimum is higher.
  • tests.yml: the phpBB 3.3 and phpBB 4.0 code sniffer jobs run on PHP 8.3 instead of 7.4 and 8.2. The check names change to "PHP 8.3 - none" and "PHP 8.3 - none - phpBB 4.0". No check names are required on master.
  • lint.yml: lints on PHP 8.3 and 8.4 instead of 7.4 and 8.4, and its header comment is updated.

ext.php and the language string already say 8.3.36 and are unchanged.

Testing

composer validate passes locally. The CI logs will show which PHP 8.3 patch release setup-php installs. The workflows ask only for 8.3, so this PR does not guarantee the runner has 8.3.36 or later. The jobs don't enable the extension, so the patch level doesn't affect them.

After this merges, the 1.6.1-dev ZIP needs one more refresh so its composer.json matches.


Investigated and written by Claude on behalf of William Jacoby (bonelifer).

ext.php has refused to enable below PHP 8.3.36 since #49, but
composer.json and the README still said PHP 7.4, and CI still ran the
code sniffer and lint on PHP 7.4 and 8.2. They now match: composer.json
requires >=8.3.36, the README says 8.3.36, and both CI workflows use
PHP 8.3 (lint also keeps 8.4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit f528915 into master Nov 2, 2026
6 checks passed
@bonelifer
bonelifer deleted the php-8336-declarations branch November 2, 2026 01:26
@bonelifer bonelifer mentioned this pull request Nov 2, 2026
bonelifer added a commit that referenced this pull request Nov 2, 2026
The PHP minimum went up from 7.4 to 8.3.36 (#49, #52), so builds from
here on get a new version instead of replacing the 1.6.1-dev ZIP, which
ran on PHP 7.4.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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