webmozarts / assert

Assertions to validate method input/output with nice error messages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`isEmpty` needs better static-analysis coverage

zerkms opened this issue · comments

Triggered by #191 initially, it should also check that string, array, int, and other types also narrowed correspodingly.

IMO doesn't need specific testing on our end, but rather in vimeo/psalm upstream

I think it still needs here as well - it's a part of the public assert contract.