From f59061f62aaea01774cdc67bec520c41f89dd060 Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Sun, 1 Nov 2026 19:18:26 -0600 Subject: [PATCH] Declare the PHP 8.3.36 minimum in composer.json, README and CI 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 --- .github/workflows/lint.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- README.md | 2 +- composer.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cfbf2cd..4974aba 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,7 @@ name: Lint # PHP syntax check on the lowest PHP version this extension supports and the # newest one phpBB 3.3 supports. tests.yml runs phpBB's own checks (code -# sniffer, EPV) on phpBB 3.3 with PHP 7.4 and on phpBB 4.0 with PHP 8.2. +# sniffer, EPV) on phpBB 3.3 and phpBB 4.0 with PHP 8.3. on: push: branches: @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - php: ['7.4', '8.4'] + php: ['8.3', '8.4'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 492e28f..7177b15 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,12 +25,12 @@ jobs: # php-versions: ['8.1'] include: # phpBB 3.3 with the extension's minimum PHP - - php: '7.4' + - php: '8.3' db: 'none' NOTESTS: 1 phpbb: '3.3.x' - # phpBB 4.0 (the master branch) with its minimum PHP - - php: '8.2' + # phpBB 4.0 (the master branch) with the extension's minimum PHP + - php: '8.3' db: 'none' NOTESTS: 1 phpbb: 'master' diff --git a/README.md b/README.md index 549a3b2..a806b2a 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Click an image for the full size. See the [screenshot gallery](docs/images/scree ## Requirements - phpBB 3.3.19 or later, including phpBB 4.0 (tested on its 4.0.0-a3 development version) -- PHP 7.4 or later (phpBB 4.0 itself needs PHP 8.2 or later) +- PHP 8.3.36 or later ## Installation diff --git a/composer.json b/composer.json index 886b299..3c1e743 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "php": ">=7.4", + "php": ">=8.3.36", "phpbb/phpbb": ">=3.3.19,<4.1.0@dev", "composer/installers": "^1.0 || ^2.0" },