orklah
orklah
Well, as I said, it checks more than just the arguments, I'm not sure applying automatically this property to all __construct in interfaces would make this behaviour clear to everyone....
Not sure this can be fixed easily. If I remember correctly, conditional returns works as follow: - if the param is mixed, we take the union of the first and...
I'd be fine with that. Provided some tests on the space gained and time added (if too impactful, we could put this under a config flag). It shouldn't be too...
Probably but the issue is that Psalm sometimes need to rewrite a whole docblock and will change the formatting. This lead to Psalter diff that are needlessly long and makes...
What does the = mean in this context though? I can understand = with a specific type where we can have an ambiguity between == and ===, but with this...
It's possibly a flaw in the improvement I made here: https://github.com/vimeo/psalm/pull/7348 or something very close This is admittedly a pretty niche case, unpacking a sealed array then using a named...
Note that TDependentListKey has a min at 0 and a max at null (can't be negative) contrary to int EDIT: oops, I didn't saw the response above when replying :p
To be discussed: I'm not actually sure it should be the role of Psalm to report this. It seems to me that code style rules are perfectly equipped to enforce...
Yup, this is fixed :)