lint/pest/require-type-matcher-first
In the coding-style set. Safe fix. Runs when pest is installed.
What it does
Ensure type-check matchers (e.g. toBeInt, toBeInstanceOf) appear before value assertions in expect() chains and consecutive expects
Configuration
[lint.rules]
"pest/require-type-matcher-first" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
EnsureTypeChecksFirst(pest-plugin-rector)