Skip to content

Commit 41e7fb7

Browse files
boneliferclaude
andauthored
Lower the PHP minimum to 8.1 (#14)
The extension now enables on PHP 8.1.0 and later instead of 8.3.36. phpBB requirements are unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c5de888 commit 41e7fb7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
],
2929
"require": {
30-
"php": ">=8.3.36",
30+
"php": ">=8.1.0",
3131
"composer/installers": "^1.0 || ^2.0"
3232
},
3333
"require-dev": {

‎ext.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ public function check_phpbb_version()
5151
}
5252

5353
/**
54-
* Requires PHP 8.3.36 due to security fixes.
54+
* Requires PHP 8.1.0 or later.
5555
*
5656
* @return bool
5757
*/
5858
public function check_php_version()
5959
{
60-
return PHP_VERSION_ID >= 80336;
60+
return PHP_VERSION_ID >= 80100;
6161
}
6262
}

‎language/en/install_groupswitches.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@
4040
//
4141

4242
$lang = array_merge($lang, [
43-
'GROUPSWITCHES_NOT_ENABLEABLE' => 'Group Switches could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.3.36 were not satisfied.',
43+
'GROUPSWITCHES_NOT_ENABLEABLE' => 'Group Switches could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.1 were not satisfied.',
4444
]);

0 commit comments

Comments
 (0)