Skip to content

use benevolent union for stream_get_contents() to prevent strict-rule errors #4146

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Aug 4, 2025

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Jul 22, 2025

@ondrejmirtes ondrejmirtes merged commit a817abf into phpstan:2.1.x Aug 4, 2025
413 of 419 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the stream branch August 4, 2025 13:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect error on strict comparison from php function stream_get_contents
2 participants