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

Analyze attribute statements instead of constructing virtual statements. #7692

Merged
merged 2 commits into from Feb 20, 2022

Conversation

AndrolGenhald
Copy link
Collaborator

Fixes #7685.

My main worry here is that the code locations might get messed up somehow. I added the line/column numbers to the existing tests, but is there a way to test the ending column of the message in addition to the starting column?

@AndrolGenhald AndrolGenhald added the release:fix The PR will be included in 'Fixes' section of the release notes label Feb 18, 2022
@orklah
Copy link
Collaborator

orklah commented Feb 20, 2022

I never tried to check issue location like that.

It seems fine to me, is it ready to merge on your side?

@AndrolGenhald
Copy link
Collaborator Author

Looks ready to me, I'll double check on psalm.dev after it's merged to make sure locations are correct.

@orklah orklah merged commit ad91df5 into vimeo:4.x Feb 20, 2022
@orklah
Copy link
Collaborator

orklah commented Feb 20, 2022

Thanks!

@weirdan
Copy link
Collaborator

weirdan commented Feb 20, 2022

I'll double check on psalm.dev after it's merged

Merged to master, should be available on psalm.dev shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Need review release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Psalm could not infer this type being passed inside the php8 attribute
3 participants