diff --git a/composer.json b/composer.json index 49cdd29..7f261a6 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "php": ">=8.3.36", + "php": ">=8.1.0", "ext-dom": "*", "composer/installers": "^1.0 || ^2.0" }, diff --git a/ext.php b/ext.php index e447c5e..fcd63ae 100644 --- a/ext.php +++ b/ext.php @@ -45,12 +45,12 @@ 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_feedlinks.php b/language/en/install_feedlinks.php index 0a3e9ed..f150101 100644 --- a/language/en/install_feedlinks.php +++ b/language/en/install_feedlinks.php @@ -22,5 +22,5 @@ } $lang = array_merge($lang, [ - 'FEEDLINKS_NOT_ENABLEABLE' => 'Feed Links could not be enabled. It needs phpBB 3.3.19 or later, PHP 8.3.36 or later, and the PHP DOM extension.', + 'FEEDLINKS_NOT_ENABLEABLE' => 'Feed Links could not be enabled. It needs phpBB 3.3.19 or later, PHP 8.1 or later, and the PHP DOM extension.', ]);