Skip to content

Commit

Permalink
Merge pull request #149 from iMattPro/updates
Browse files Browse the repository at this point in the history
Maintenance
  • Loading branch information
iMattPro authored Jul 5, 2024
2 parents 8f502a8 + a6a89f3 commit f04dc5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ jobs:
db: "mysql:5.7"
- php: '8.3'
db: "mysql:5.7"
- php: '8.4'
db: "mysql:5.7"

name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}

Expand Down Expand Up @@ -270,6 +272,8 @@ jobs:
db: "postgres:14"
- php: '8.3'
db: "postgres:14"
- php: '8.4'
db: "postgres:14"

name: PHP ${{ matrix.php }} - ${{ matrix.db }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"extra": {
"display-name": "phpBB Ideas",
"soft-require": {
"phpbb/phpbb": ">=3.3.0"
"phpbb/phpbb": ">=3.3.0,<4.0.0@dev"
}
}
}
2 changes: 1 addition & 1 deletion ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function status_name($id)
*/
public function is_enableable()
{
if (PHP_VERSION_ID < 70100 || phpbb_version_compare(PHPBB_VERSION, '3.3.0', '<'))
if (PHP_VERSION_ID < 70100 || phpbb_version_compare(PHPBB_VERSION, '3.3.0', '<') || phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '>='))
{
return false;
}
Expand Down

0 comments on commit f04dc5a

Please sign in to comment.