Bruce Weirdan

Results 291 comments of Bruce Weirdan

> Actually nevermind, it seems like there's a bug in the InArray assertion reconcile @danog Isn't it something you were fixing in #8773 (among other things)?

@joaojacome would you mind triggering the GHA build again? The logs have since expired.

Looking at those runs, beta (and only that version) does emit tons of `UndefinedClass` when there are more than 512 files.

And it's likely because it switched to multithreaded scan here: https://github.com/vimeo/psalm/blob/a157743140fdfd7004491f55a5e30232abd4847c/src/Psalm/Internal/Codebase/Scanner.php#L334-L352

> I'm assuming the fact that intersectUnionTypes checking if a class exists before it is loaded is a bug It certainly is. Even in a single-threaded scan, we may encounter...

> or we find a way to disambiguate classes and namespaces with the current tag, which I'm not sure how to do. One option could be postfixes. E.g. `Some\NS\` (note...

Seems to happen only when unused code detection is turned on.

`InvalidArgumentException` should have been fixed by #8817