orklah / psalm-strict-equality

Automatically change == into === when safe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arrays are not safe

orklah opened this issue · 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