lint/types/no-loose-comparison
In the code-quality set. Safe fix where types prove it, unsafe otherwise. Intent: suspicious.
What it does
Comparisons should be strict.
Configuration
[lint.rules]
"types/no-loose-comparison" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
strict_comparison(php-cs-fixer, risky)identity-comparison(mago-linter)