Skip to content

Conversation

janedbal
Copy link
Contributor

@janedbal janedbal commented Oct 9, 2023

This should fix #193.

@janedbal
Copy link
Contributor Author

janedbal commented Oct 9, 2023

Optionally, we might do this hack only for those resolvers where false-positive is at risk (like the assertContains with Traversable).

Edit: done, it breaks stuff without that.

@ondrejmirtes ondrejmirtes merged commit 9499aec into phpstan:1.4.x Oct 9, 2023
@ondrejmirtes
Copy link
Member

Thank you!

ondrejmirtes pushed a commit that referenced this pull request Oct 9, 2023
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.

assertContains always claiming it'll return true
2 participants