1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 08:00:46 +01:00

[ticket/16649] Set PHP 7.3.0 as a minimum required version

Also rebase and fix composer.lock conflict

PHPBB3-16649
This commit is contained in:
rxu 2021-01-10 15:56:29 +07:00
parent 9d91d2f143
commit 9c64ee8d61
No known key found for this signature in database
GPG Key ID: 955F0567380E586A
4 changed files with 2425 additions and 995 deletions

View File

@ -25,14 +25,16 @@
"phpbb/phpbb-core": "self.version"
},
"require": {
"php": "^7.2.5",
"php": "^7.3 || ^8.0",
"ext-json": "*",
"ext-mbstring": "*",
"ext-pdo": "*",
"bantu/ini-get-wrapper": "~1.0",
"chita/topological_sort": "^3.0",
"composer/composer": "^2.0",
"composer/installers": "^1.9",
"composer/package-versions-deprecated": "^1.11",
"doctrine/dbal": "^3.0",
"google/recaptcha": "~1.1",
"guzzlehttp/guzzle": "~6.3",
"lusitanian/oauth": "^0.8.1",
@ -74,7 +76,7 @@
},
"config": {
"platform": {
"php": "7.2.5"
"php": "7.3.0"
}
}
}

3406
phpBB/composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -147,7 +147,7 @@
<li>Oracle</li>
</ul>
</li>
<li><strong>PHP 7.1.3+</strong> up to and including <strong>PHP 7.4</strong> with support for the database you intend to use.</li>
<li><strong>PHP 7.3.0+</strong> with support for the database you intend to use.</li>
<li>The following PHP modules are required:
<ul>
<li>json</li>

View File

@ -23,11 +23,11 @@ $level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
error_reporting($level);
/**
* Minimum Requirement: PHP 7.1.3
* Minimum Requirement: PHP 7.3.0
*/
if (version_compare(PHP_VERSION, '7.1.3', '<'))
if (version_compare(PHP_VERSION, '7.3.0', '<'))
{
die('You are running an unsupported PHP version. Please upgrade to PHP 7.1.3 or higher before trying to install or update to phpBB 3.3');
die('You are running an unsupported PHP version. Please upgrade to PHP 7.3.0 or higher before trying to install or update to phpBB 4.0');
}
// In PHP 5.3.0 the error level has been raised to E_WARNING which causes problems