lint/types/prefer-identical-same-type
In the code-quality set. Safe fix where types prove it, unsafe otherwise. Intent: suspicious.
What it does
Use ===/!== over ==/!=, if values have the same type
Configuration
[lint.rules]
"types/prefer-identical-same-type" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
UseIdenticalOverEqualWithSameType(rector)