Skip to content

Require PHP 7.4 and phpBB 3.3.19, and add a PHP lint workflow - #8

Merged
bonelifer merged 1 commit into
masterfrom
php74-and-lint
Sep 27, 2026
Merged

bonelifer merged 1 commit into
masterfrom
php74-and-lint

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Summary

  • composer.json: PHP minimum raised to >=7.4. phpBB 3.3 itself needs 7.2, and anything older than 7.4 isn't worth supporting.
  • composer.json: phpBB range >=3.3.19,<4.0.0@dev. The old range claimed the extension did not support phpBB 3.3, which is no longer true.
  • Adds .github/workflows/lint.yml: php -l on every PHP file plus composer validate, on PHP 7.4 (the new minimum) and 8.4 (the newest phpBB 3.3 supports). tests.yml already covers PHP 8.2 with phpBB's code sniffer and EPV.

Test plan

Claude installed the extension from master on a fresh phpBB 3.3.19 board (SQLite, PHP 8.4), enabled it, and checked:

  • With the admin account backdated three years, viewtopic and the profile page both show "3 years of membership" stars.
  • index, viewforum, viewtopic, memberlist, profile and posting pages return 200, with no PHP warnings, notices or deprecation messages in the server log.
  • This PR's CI runs the new lint workflow on 7.4 and 8.4.

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

Tested on phpBB 3.3.19 under PHP 8.4. The lint workflow checks PHP
syntax on 7.4 (the new minimum) and 8.4 (the newest phpBB 3.3 supports).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit e39ec75 into master Sep 27, 2026
7 checks passed
@bonelifer
bonelifer deleted the php74-and-lint branch September 27, 2026 23:51
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