diff --git a/ext.php b/ext.php index 7c3a258..318ba23 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 7.4 + * Requires PHP 8.3.36 due to security fixes. * * @return bool */ protected function check_php_version() { - return PHP_VERSION_ID >= 70400; + return PHP_VERSION_ID >= 80336; } } diff --git a/language/en/install_viewcountexempt.php b/language/en/install_viewcountexempt.php index a2bc406..ffc2c31 100644 --- a/language/en/install_viewcountexempt.php +++ b/language/en/install_viewcountexempt.php @@ -35,5 +35,5 @@ // $lang = array_merge($lang, [ - 'VIEWCOUNTEXEMPT_NOT_ENABLEABLE' => 'View Count Exempt could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 7.4.0 were not satisfied.', + 'VIEWCOUNTEXEMPT_NOT_ENABLEABLE' => 'View Count Exempt could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.3.36 were not satisfied.', ]);