Skip to content

Problems with detected langauge #7845

Answered by orklah
neclimdul asked this question in Q&A
Discussion options

You must be logged in to vote

You absolutely can tell Psalm what version it must use for analysis: https://psalm.dev/docs/running_psalm/configuration/#phpversion

Psalm is not currently completely aware of what is vendor code and what is project code in some particular (but common cases), it would be a pretty big change to make it analyse vendor code in the most recent php version in order to make sure it understand everything. I guess not impossible, but pretty far above what I'm comfortable with right now...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@neclimdul
Comment options

@orklah
Comment options

@neclimdul
Comment options

Answer selected by neclimdul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants