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

don't infer from in_array with unknown type #6396

Closed
wants to merge 2 commits into from

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Sep 3, 2021

this should fix #6333

@orklah
Copy link
Collaborator Author

orklah commented Sep 3, 2021

It should also fix (or at least diminish the impact of) #6317 by not asserting in-array-mixed which doesn't seem useful anyway

TysonAndre added a commit to TysonAndre/psalm that referenced this pull request Sep 4, 2021
TysonAndre added a commit to TysonAndre/psalm that referenced this pull request Sep 4, 2021
Modified approach to vimeo#6396 by orklah

Fixes vimeo#6333

Co-Authored-By: orklah <[email protected]>
TysonAndre added a commit to TysonAndre/psalm that referenced this pull request Sep 4, 2021
Modified approach to vimeo#6396 by orklah

Fixes vimeo#6333

Co-Authored-By: orklah <[email protected]>
@orklah
Copy link
Collaborator Author

orklah commented Sep 4, 2021

superseded by #6419

@orklah orklah closed this Sep 4, 2021
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.

in_array and TypeDoesNotContainNull
1 participant