psalm-strict-equality icon indicating copy to clipboard operation
psalm-strict-equality copied to clipboard

Arrays are not safe

Open orklah opened this issue 1 year ago • 0 comments

https://3v4l.org/pNjfj

This plugin should not try to change == to === on arrays. Aside from the above example, === also checks the order of elements in the array, which is basically impossible for Psalm to track

orklah avatar Sep 13 '22 21:09 orklah