Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctrine/annotations 已更新2.0.x #7

Closed
fcorz opened this issue Feb 3, 2023 · 0 comments
Closed

doctrine/annotations 已更新2.0.x #7

fcorz opened this issue Feb 3, 2023 · 0 comments

Comments

@fcorz
Copy link

fcorz commented Feb 3, 2023

问题描述:
hyperf 2.2 升级到 hyperf 3.0之后,doctrine/annotations包自动更新到2.0.x,安装包报错

Problem 1
    - Root composer.json requires hyperf/code-generator 0.3.3 -> satisfiable by hyperf/code-generator[v0.3.3].
    - hyperf/code-generator v0.3.3 requires doctrine/annotations ^1.13 -> found doctrine/annotations[1.13.0, ..., 1.14.x-dev] but the package is fixed to 2.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

这边包是否需要更新下:

 "require": {
        "php": ">=8.0",
        "doctrine/annotations": "^1.13",
        "hyperf/command": ">=2.2",
        "nikic/php-parser": "^4.10",
        "symfony/finder": "^5.3"
    },

感谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant