Bug report
Maybe it's already known / fixed? I was unable to find a similar issue though...
With the latest release my CI is failing but not every time, only sometimes (locally everything is fine though) with PHPStan throwing bunch of errors like this:
<unknown location> Internal error: Internal error: Class '[random phpstan class]' not found in file [random project file]
Run PHPStan with --debug option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new
There are many errors, the phpstan class is nearly always different and the project file path is always different.
I tried to add --debug to get a stacktrace but as it is a bit random so far the error didn't trigger while I had --debug in place.