diff --git a/composer.json b/composer.json index ab1b7bb..cc4ed62 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,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 6128c35..637d39c 100644 --- a/ext.php +++ b/ext.php @@ -72,13 +72,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_editedpostsunread.php b/language/en/install_editedpostsunread.php index 889cf5d..592682a 100644 --- a/language/en/install_editedpostsunread.php +++ b/language/en/install_editedpostsunread.php @@ -39,6 +39,6 @@ // $lang = array_merge($lang, [ - 'EDITEDPOSTSUNREAD_NOT_ENABLEABLE' => 'Mark Edited Posts Unread could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.3.36 were not satisfied.', + 'EDITEDPOSTSUNREAD_NOT_ENABLEABLE' => 'Mark Edited Posts Unread could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.1 were not satisfied.', 'EDITEDPOSTSUNREAD_DISABLE_OLD' => 'Disable the old ā€œ%sā€ extension first. Keep its data; do not delete it.', ]);