diff --git a/composer.json b/composer.json index a5935b5..72061d7 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 2c6a74e..269e1de 100644 --- a/ext.php +++ b/ext.php @@ -51,12 +51,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_postingtemplate.php b/language/en/install_postingtemplate.php index b43f268..b3affe0 100644 --- a/language/en/install_postingtemplate.php +++ b/language/en/install_postingtemplate.php @@ -40,5 +40,5 @@ // $lang = array_merge($lang, [ - 'POSTINGTEMPLATE_NOT_ENABLEABLE' => 'Posting Template could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.3.36 were not satisfied.', + 'POSTINGTEMPLATE_NOT_ENABLEABLE' => 'Posting Template could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.1 were not satisfied.', ]);