diff --git a/composer.json b/composer.json index 6a85396..4dd639e 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" }, "extra": { diff --git a/ext.php b/ext.php index 41a8b4f..fca74d5 100644 --- a/ext.php +++ b/ext.php @@ -52,13 +52,13 @@ public function check_phpbb_version() } /** - * Requires PHP 8.3.36 due to security fixes. + * Requires PHP 8.1.0 or later. * * @return bool */ public function check_php_version() { - return PHP_VERSION_ID >= 80336; + return PHP_VERSION_ID >= 80100; } /** diff --git a/language/en/install_topicclaim.php b/language/en/install_topicclaim.php index f5f5c66..cd63ca3 100644 --- a/language/en/install_topicclaim.php +++ b/language/en/install_topicclaim.php @@ -22,5 +22,5 @@ } $lang = array_merge($lang, [ - 'TOPICCLAIM_NOT_ENABLEABLE' => 'Topic Claim could not be enabled. It needs phpBB 3.3.19 or later and PHP 8.3.36 or later.', + 'TOPICCLAIM_NOT_ENABLEABLE' => 'Topic Claim could not be enabled. It needs phpBB 3.3.19 or later and PHP 8.1 or later.', ]);