You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file_get_contents can be used to product a side-effect. It does not have to care about the returned content. However, even such usages should probably check for error. I'm also not sure if it's a good idea to use file_get_contents like this in the first place. So perhaps the message could simply be reworded.
Bug report
file_get_contents
can be used to product a side-effect. It does not have to care about the returned content. However, even such usages should probably check for error. I'm also not sure if it's a good idea to usefile_get_contents
like this in the first place. So perhaps the message could simply be reworded.Code snippet that reproduces the problem
https://phpstan.org/r/ef476598-c5e9-426e-8d0a-0156527e3bbe
Expected output
It should not be claimed that it doesn't have any effect.
The text was updated successfully, but these errors were encountered: