mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00: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:
parent
9d91d2f143
commit
9c64ee8d61
4 changed files with 2425 additions and 995 deletions
|
@ -25,14 +25,16 @@
|
||||||
"phpbb/phpbb-core": "self.version"
|
"phpbb/phpbb-core": "self.version"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.2.5",
|
"php": "^7.3 || ^8.0",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-mbstring": "*",
|
"ext-mbstring": "*",
|
||||||
|
"ext-pdo": "*",
|
||||||
"bantu/ini-get-wrapper": "~1.0",
|
"bantu/ini-get-wrapper": "~1.0",
|
||||||
"chita/topological_sort": "^3.0",
|
"chita/topological_sort": "^3.0",
|
||||||
"composer/composer": "^2.0",
|
"composer/composer": "^2.0",
|
||||||
"composer/installers": "^1.9",
|
"composer/installers": "^1.9",
|
||||||
"composer/package-versions-deprecated": "^1.11",
|
"composer/package-versions-deprecated": "^1.11",
|
||||||
|
"doctrine/dbal": "^3.0",
|
||||||
"google/recaptcha": "~1.1",
|
"google/recaptcha": "~1.1",
|
||||||
"guzzlehttp/guzzle": "~6.3",
|
"guzzlehttp/guzzle": "~6.3",
|
||||||
"lusitanian/oauth": "^0.8.1",
|
"lusitanian/oauth": "^0.8.1",
|
||||||
|
@ -74,7 +76,7 @@
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "7.2.5"
|
"php": "7.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
3406
phpBB/composer.lock
generated
3406
phpBB/composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -147,7 +147,7 @@
|
||||||
<li>Oracle</li>
|
<li>Oracle</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</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:
|
<li>The following PHP modules are required:
|
||||||
<ul>
|
<ul>
|
||||||
<li>json</li>
|
<li>json</li>
|
||||||
|
|
|
@ -23,11 +23,11 @@ $level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
|
||||||
error_reporting($level);
|
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
|
// In PHP 5.3.0 the error level has been raised to E_WARNING which causes problems
|
||||||
|
|
Loading…
Add table
Reference in a new issue