*开发环境更新

PHP 8.2.17 -> PHP 8.3.4
*对php8.2应该还是兼容的,只不过你需要修改composer.json
This commit is contained in:
Chenx221 2024-03-15 16:40:06 +08:00
parent 0220b6cd0e
commit a4766198bb
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021
3 changed files with 4 additions and 4 deletions

View File

@ -99,11 +99,11 @@ EXTRA: 客户端开发
开发环境 开发环境
------------ ------------
Windows 11 Pro (22631.3155) Windows 11 Pro (22631.3296) \ Windows 10 Enterprise LTSC 2021 (19044.4046)
PhpStorm 2023.3.4 PhpStorm 2023.3.4
PHP 8.2.17 PHP 8.3.4 (这个项目需要PHP>=8.2)
MariaDB 11.3.2 MariaDB 11.3.2

View File

@ -19,7 +19,7 @@
}, },
"minimum-stability": "stable", "minimum-stability": "stable",
"require": { "require": {
"php": ">=8.2.0", "php": ">=8.3.0",
"yiisoft/yii2": "~2.0.45", "yiisoft/yii2": "~2.0.45",
"yiisoft/yii2-bootstrap5": "~2.0.2", "yiisoft/yii2-bootstrap5": "~2.0.2",
"yiisoft/yii2-symfonymailer": "~2.0.3", "yiisoft/yii2-symfonymailer": "~2.0.3",

View File

@ -84,7 +84,7 @@ if (YII_ENV_DEV) {
$config['modules']['debug'] = [ $config['modules']['debug'] = [
'class' => 'yii\debug\Module', 'class' => 'yii\debug\Module',
// uncomment the following to add your IP if you are not connecting from localhost. // uncomment the following to add your IP if you are not connecting from localhost.
//'allowedIPs' => ['127.0.0.1', '::1'], 'allowedIPs' => ['127.0.0.1', '::1','192.168.1.*'],
]; ];
$config['bootstrap'][] = 'gii'; $config['bootstrap'][] = 'gii';