webman安装报错

JackDx

问题描述

composer安装报各种兼容错误 是不是暂时还不兼容PHP8.2?

系统环境

CentOS 7.9.2009
PHP 8.2.0 (cli) (built: Feb  8 2023 14:28:11) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.0, Copyright (c) Zend Technologies
composer 2.5.4

程序代码

composer create-project workerman/webman

报错信息

PHP Deprecated:  Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112

截图报错信息里报错文件相关代码

截图

操作系统及workerman/webman等框架组件具体版本

当前日期最新版
截图

3061 1 0
1个回答

北月

升级 composer

年代过于久远,无法发表回答
×
🔝