1
我在我的项目中定期运行composer update
,然后检查哪些依赖项已更新。但今天我发现一个奇怪的输出:作曲家将依赖项更新为旧版本
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
- Updating phpdocumentor/type-resolver (0.4.0 => 0.3.0): Downloading (100%)
- Updating phpdocumentor/reflection-docblock (3.2.0 => 3.2.1): Downloading (100%)
Writing lock file
您可以看到的phpDocumentor /类型解析程序包是从0.4.0降级到0.3.0,但该命令执行update
。 这是正常的还是一个错误或什么?
你能否加入'-vvv'来更新? – samayo
您需要删除composer.lock文件,然后尝试运行update命令。 – Muhammad