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

psalm dependencies incompatible with composer2 and php < 7.4 #3844

Closed
jderusse opened this issue Jul 18, 2020 · 2 comments · Fixed by #3846
Closed

psalm dependencies incompatible with composer2 and php < 7.4 #3844

jderusse opened this issue Jul 18, 2020 · 2 comments · Fixed by #3846
Assignees

Comments

@jderusse
Copy link

by requiring ocramius/package-versions, psalm can not be installed with composer 2 and php < 7.4.

ocramius/package-versions < 1.8 are not compatible with composer 2
ocramius/package-versions >= 1.8 requires > php 7.4

@psalm-github-bot
Copy link

Hey @jderusse, can you reproduce the issue on https://psalm.dev ?

@weirdan
Copy link
Collaborator

weirdan commented Jul 19, 2020

As a workaround, you should be able to require composer/package-versions-deprecated which replaces ocramius/package-versions.

@weirdan weirdan self-assigned this Jul 19, 2020
weirdan added a commit to weirdan/psalm that referenced this issue Jul 19, 2020
…versions

It allows wider range of PHP versions in addition to supporting both
Composer v1 and v2

Fixes vimeo#3844
muglug pushed a commit that referenced this issue Jul 20, 2020
…versions (#3846)

It allows wider range of PHP versions in addition to supporting both
Composer v1 and v2

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

Successfully merging a pull request may close this issue.

2 participants