From 75cac63b9b23ce946a4d61a62a8df91d6b1716f6 Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Thu, 11 Apr 2024 15:36:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=91=E4=B8=8B=E5=85=BC=E5=AE=B9php=208.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 +- models/CollectionTasks.php | 2 +- models/Share.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 66ba255..e4fff86 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "minimum-stability": "stable", "require": { - "php": ">=8.3.0", + "php": ">=8.2.0", "yiisoft/yii2": "~2.0.45", "yiisoft/yii2-symfonymailer": "~2.0.3", "sam-it/yii2-mariadb": "^3.1", diff --git a/models/CollectionTasks.php b/models/CollectionTasks.php index 219b027..95fed0b 100644 --- a/models/CollectionTasks.php +++ b/models/CollectionTasks.php @@ -20,7 +20,7 @@ use yii\db\ActiveRecord; */ class CollectionTasks extends ActiveRecord { - const string SCENARIO_CREATE = 'create'; + const SCENARIO_CREATE = 'create'; /** * {@inheritdoc} diff --git a/models/Share.php b/models/Share.php index be08b69..3f98db4 100644 --- a/models/Share.php +++ b/models/Share.php @@ -21,7 +21,7 @@ use yii\db\ActiveRecord; */ class Share extends ActiveRecord { - const string SCENARIO_UPDATE = 'update'; + const SCENARIO_UPDATE = 'update'; // PHP8.2 need to remove "string" /** * {@inheritdoc}