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
webmozart/path-util is abandoned - use symfony/filesystem instead #6883
Comments
Hey @garrettw, can you reproduce the issue on https://psalm.dev ? |
Not going to happen until we drop PHP 7.1 support, as |
Do you have any idea when this will happen? PHP 7.1 and 7.2 have already reached EOL in 2019 / 2020. |
We still have to figure this out for the next major release of Psalm. Psalm 4 was scheduled to drop 7.1 and 7.2 but after user feedback and seeing we didn't use features from those versions, it was reverted back. Static analysis is a tough tool to upgrade because user kinda expect to analyse their code with the same version they have in production... |
even though Psalm is mostly able to analyze code targeting older PHP runtime even when it runs on a modern one. |
https://packagist.org/packages/vimeo/psalm/php-stats#4 - currently it's 10% Psalm installations on 7.2 on a bad day. |
https://github.com/symfony/filesystem/releases/tag/v5.4.0 has a stable release and appears to support |
Can you reopen the issue until it is fixed? I feel like this shouldn't be closed... |
@ricardoboss This is already fixed in master (future Psalm 5): #7292 |
I don´t know when Psalm 5 is due to be released but judging by the PR, this could very easily be backported to Psalm 4 right? |
Unfortunately no, because Psalm 4 support PHP 7.1 and symfony/filesystem does not as explained above |
Just installed the latest version of psalm and was surprised to see an abandoned package warning:
psalm/composer.json
Line 38 in 8c761dd
The text was updated successfully, but these errors were encountered: