diff --git a/composer.json b/composer.json index 1dc48d7..b6a7e25 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "php": ">=8.3.36", + "php": ">=8.1.0", "composer/installers": "^1.0 || ^2.0" }, "require-dev": { diff --git a/ext.php b/ext.php index a633ce9..941ca25 100644 --- a/ext.php +++ b/ext.php @@ -52,12 +52,12 @@ protected function check_phpbb_version() } /** - * Requires PHP 8.3.36 due to security fixes. + * Requires PHP 8.1.0 or later. * * @return bool */ protected function check_php_version() { - return PHP_VERSION_ID >= 80336; + return PHP_VERSION_ID >= 80100; } } diff --git a/language/en/install_useridviewtopic.php b/language/en/install_useridviewtopic.php index f11e1ea..5667feb 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.3.36 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.1 were not satisfied.', ]);