1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02: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
4 changed files with 2425 additions and 995 deletions

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