Description
Bug report
Hi 👋🏻,
tl;dr: problem solved bug it might be some issue underlying, see my last comment
I am sorry for the long and unprecise title, I don't really know how to describe the issue in one sentence...
PHPStan fails in our CI with the following error:
I tried to reproduce it locally but I can't, PHPStan succeeds.
edit: I cleared PHPStan's cache and now it fails but does not with the --debug
flag.
I tried to run the command on the container in the CI via SSH, it fails with the sameerror as expected. Then I tried to add the --debug
flag and this time it succeeds. I tried again without the flag, it still fails. I removed the cache and tried again, it still fails.
What I don't understand is that there is no call to a "name" property in this file. So maybe it is rather PHPStan that raises the error internally when analyzing this file.
Code snippet that reproduces the problem
I don't have any way to reproduce it locally, I don't understand the issue enough, I am sorry.
Expected output
I expected to not have error on every environment.
Did PHPStan help you today? Did it make you happy in any way?
Ooooh yes! It does a lot. Thank you so much for building it 🙏🏻