Skip to content

Use more relax php version range #11517

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

Closed
wants to merge 1 commit into from
Closed

Conversation

samsonasik
Copy link
Contributor

@samsonasik samsonasik commented Jul 17, 2025

on some system, eg: macos using macports, the php version latest may not up to date, I think it is better to have more relax version to avoid error:

vimeo/psalm[6.12.0, ..., 6.13.0] require php ~8.1.31 || ~8.2.27 || ~8.3.16 || ~8.4.3 -> your php version (8.2.24) does not satisfy that requirement.

@samsonasik
Copy link
Contributor Author

Ready to merge 👍

@Gonzalo1987
Copy link

Please yes 🙏

@danog danog closed this Jul 31, 2025
@danog
Copy link
Collaborator

danog commented Jul 31, 2025

The version range was chosen due to critical bugs in older PHP versions that directly affect psalm.

@samsonasik
Copy link
Contributor Author

psalm is mostly used as dev dependency, imo, it doesn't need to be in latest php, as CI is also green

@Gonzalo1987
Copy link

psalm is mostly used as dev dependency, imo, it doesn't need to be in latest php, as CI is also green

I think so, It would be nice if it were considered

@danog
Copy link
Collaborator

danog commented Jul 31, 2025

You don't understand, the php bugs affect directly Psalm, causing crashes and false positives or negatives during scans.

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

Successfully merging this pull request may close these issues.

3 participants