欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

更新Composer依赖报错处理Fatal error: Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRe

程序员文章站 2023-03-31 15:14:41
更新Composer依赖报错处理 Fatal error: Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRe pository::search() must be compatible with Composer\... ......
更新composer依赖报错处理
fatal error: declaration of fxp\composer\assetplugin\repository\abstractassetsre
    pository::search() must be compatible with composer\repository\repositoryinterfa
    ce::search($query, $mode = 0, $type = null) in c:\users\arthur\appdata\roaming\c
    omposer\vendor\fxp\composer-asset-plugin\repository\abstractassetsrepository.php
     on line 334

  

解决方案:
composer global remove fxp/composer-asset-plugin --no-plugins