我使用的是ezplatform 5.4,当我运行composer update/install时,它显示了以下错误:
[ErrorException]
Declaration of
eZ\Bundle\EzPublishLegacyBundle\Composer\ScriptHandler::installAssets()
should be compatible with
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
(Composer\Script\Event $event) 我找不到任何回应来摆脱这个错误,我希望有一些解决办法。
提前谢谢你。
发布于 2017-03-27 09:21:39
根composer.json中所需的分发包必须更新。在用于5.4.x更新指示平台的eZ页面上,您将看到版本5.4.2必须将其设置为~3.0。
因此,从本章运行composer require命令可能会修复您的错误,但很难100%确定。让我知道。
https://stackoverflow.com/questions/43007709
复制相似问题