Skip to content

Commit 4931657

Browse files
committed
Bump up PHP and phpBB requirements
1 parent 72d880c commit 4931657

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "phpbb-extension",
44
"description": "The official phpBB skeleton extension generator.",
55
"homepage": "https://www.phpbb.com/customise/db/official_tool/ext_skeleton/",
6-
"version": "1.1.16",
6+
"version": "1.2.0-dev",
77
"license": "GPL-2.0-only",
88
"authors": [
99
{
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"require": {
22-
"php": ">=5.6",
22+
"php": ">=7.1",
2323
"composer/installers": "~1.0",
2424
"ext-zip": "*"
2525
},
@@ -29,7 +29,7 @@
2929
"extra": {
3030
"display-name": "phpBB Skeleton Extension",
3131
"soft-require": {
32-
"phpbb/phpbb": ">=3.2.3,<4.0.0@dev"
32+
"phpbb/phpbb": ">=3.3.0,<4.0.0@dev"
3333
},
3434
"version-check": {
3535
"host": "www.phpbb.com",

ext.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,19 @@
1515

1616
class ext extends \phpbb\extension\base
1717
{
18+
/** @var string The default value for PHP to use in skeletons */
1819
const DEFAULT_PHP = '7.1.3';
20+
/** @var string The default value for minimum phpBB to use in skeletons */
1921
const DEFAULT_PHPBB_MIN = '3.3.0';
22+
/** @var string The default value for maximum phpBB to use in skeletons */
2023
const DEFAULT_PHPBB_MAX = '4.0.0@dev';
2124

22-
const REQUIRE_PHPBB_MIN = '3.2.3';
25+
/** @var string The minimum version of phpBB this skeleton extension supports */
26+
const REQUIRE_PHPBB_MIN = '3.3.0';
27+
/** @var string The maximum version of phpBB this skeleton extension supports */
2328
const REQUIRE_PHPBB_MAX = '4.0.0-dev';
24-
const REQUIRE_PHP = 50600;
29+
/** @var string The minimum version of PHP this skeleton extension supports */
30+
const REQUIRE_PHP = 70100;
2531

2632
/**
2733
* @var array An array of installation error messages

0 commit comments

Comments
 (0)