diff --git a/composer.json b/composer.json index 011c531..ef76677 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": ">=8.3.36", + "php": ">=8.1.0", "composer/installers": "^1.0 || ^2.0" }, "extra": { diff --git a/ext.php b/ext.php index 6874332..0df3e72 100644 --- a/ext.php +++ b/ext.php @@ -49,12 +49,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/topfive_install.php b/language/en/topfive_install.php index d093f2a..c42e477 100644 --- a/language/en/topfive_install.php +++ b/language/en/topfive_install.php @@ -16,5 +16,5 @@ } $lang = array_merge($lang, array( - 'TOPFIVE_NOT_ENABLEABLE' => 'Top Five Extension could not be enabled. It requires phpBB 3.3.19 or later and PHP 8.3.36 or later.', + 'TOPFIVE_NOT_ENABLEABLE' => 'Top Five Extension could not be enabled. It requires phpBB 3.3.19 or later and PHP 8.1 or later.', ));