parse icon indicating copy to clipboard operation
parse copied to clipboard

Add check for non-strict calls to in_array

Open mschwager opened this issue 7 years ago • 1 comments

Similar to preferring strict comparisons (=== vs. ==), it'd be great to include a check for non-strict calls to in_array. I.e. ensure in_array($needle, $haystack, true).

mschwager avatar Aug 01 '18 17:08 mschwager

This check (InArrayStrict) has been added. It will be included in a later tagged release.

enygma avatar Aug 01 '18 20:08 enygma