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

Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. #7826

Closed
karaka200 opened this issue Mar 29, 2022 · 9 comments
Milestone

Comments

@karaka200
Copy link

When I install psalm package, this warning show:

Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.

how can I fix this warning?

@psalm-github-bot
Copy link

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

@orklah
Copy link
Collaborator

orklah commented Mar 29, 2022

This will be solved by Psalm 5 which is yet to be released

@orklah orklah added this to the Psalm 5 milestone Mar 29, 2022
@dmitryuk
Copy link

dmitryuk commented May 7, 2022

#7292

@netandreus
Copy link

+1
Just reproduced at psaml 5.0.0-beta1

@weirdan
Copy link
Collaborator

weirdan commented May 31, 2022

Fixed in master.

@VincentLanglet
Copy link
Contributor

Fixed in master.

Can't this be back-ported to psalm 4 ? The PR seems small, and there is still some Psalm 4 releases.

@dmitryuk

This comment was marked as spam.

1 similar comment
@in4s

This comment was marked as spam.

@weirdan
Copy link
Collaborator

weirdan commented Nov 2, 2022

Can't this be back-ported to psalm 4 ? The PR seems small, and there is still some Psalm 4 releases.

It can't. Psalm 4 supports PHP 7.1, but the replacement package version (symfony/filesystem:5.4) where path utils were moved is not compatible with PHP 7.1

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

7 participants