From 665c549c257b124da6fdebd093b3889baa5529bc Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Thu, 22 Oct 2026 11:56:55 -0500 Subject: [PATCH] Require phpBB 3.3.19 and PHP 8.3.36 for extension enablement --- ext.php | 10 +++++----- language/en/install_useridviewtopic.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ext.php b/ext.php index a71af1a..a633ce9 100644 --- a/ext.php +++ b/ext.php @@ -20,8 +20,8 @@ class ext extends \phpbb\extension\base { /** * Check whether the extension can be enabled. - * The current phpBB version should meet or exceed - * the minimum version required by this extension. + * The current phpBB and PHP version should meet or + * exceed the minimum version required by this extension: * * @return bool|array * @access public @@ -42,7 +42,7 @@ public function is_enableable() } /** - * Require phpBB 3.3.19 + * Require phpBB 3.3.19 due to several security fixes in the phpBB software. * * @return bool */ @@ -52,12 +52,12 @@ protected function check_phpbb_version() } /** - * Require PHP 8.2 + * Requires PHP 8.3.36 due to security fixes. * * @return bool */ protected function check_php_version() { - return PHP_VERSION_ID >= 80200; + return PHP_VERSION_ID >= 80336; } } diff --git a/language/en/install_useridviewtopic.php b/language/en/install_useridviewtopic.php index 0c6ad1b..f11e1ea 100644 --- a/language/en/install_useridviewtopic.php +++ b/language/en/install_useridviewtopic.php @@ -35,5 +35,5 @@ // $lang = array_merge($lang, [ - 'USERIDVIEWTOPIC_NOT_ENABLEABLE' => 'User ID in Viewtopic could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.2.0 were not satisfied.', + 'USERIDVIEWTOPIC_NOT_ENABLEABLE' => 'User ID in Viewtopic could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.3.36 were not satisfied.', ]);