Update to min. PHP 7.3

This commit is contained in:
Lucas Bartholemy 2021-06-09 10:47:10 +02:00
parent 17ffa49f78
commit 7111db1425
4 changed files with 639 additions and 312 deletions

View File

@ -1,6 +1,8 @@
1.9.0-beta.1 (Unreleased)
----------------------------
At least version 7.3 is now required as the PHP version!
- Enh #3733: Forbid to open AJAX actions as separate page
- Enh #677: Allow to create new database and set database port on install
- Fix #4877: Check for writable uploads/profile_image directory

View File

@ -13,7 +13,7 @@
},
"minimum-stability": "stable",
"require": {
"php": ">=7.2",
"php": ">=7.3",
"ext-exif": "*",
"ext-zip": "*",
"ext-intl": "*",
@ -24,7 +24,7 @@
"jbroadway/urlify": "^1.0",
"kartik-v/yii2-widgets": "*",
"laminas/laminas-escaper": "^2.6",
"laminas/laminas-http": "^2.13",
"laminas/laminas-http": "^2.14",
"laminas/laminas-ldap": "^2.10",
"matthewbdaly/zendsearch": "^0.0.3",
"mistic100/randomcolor": "^1.0",
@ -104,7 +104,7 @@
},
"platform-check": false,
"platform": {
"php": "7.2"
"php": "7.3"
}
},
"scripts": {

939
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -44,12 +44,12 @@ class SelfTest
// Checks PHP Version
$title = 'PHP - Version - ' . PHP_VERSION;
if (version_compare(PHP_VERSION, '7.1', '>=')) {
if (version_compare(PHP_VERSION, '7.3', '>=')) {
$checks[] = [
'title' => Yii::t('base', $title),
'state' => 'OK'
];
} elseif (version_compare(PHP_VERSION, '7.0', '>=')) {
} elseif (version_compare(PHP_VERSION, '7.2', '>=')) {
$checks[] = [
'title' => Yii::t('base', $title),
'state' => 'WARNING',