lint/functions/require-strict-array-search
In the coding-style set. Safe fix where types prove it, unsafe otherwise. Intent: suspicious.
What it does
Makes array_search search for identical elements
Configuration
[lint.rules]
"functions/require-strict-array-search" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
StrictArraySearch(rector)