lint/pest/prefer-sequence
In the lint-recommended preset and every stricter one. In Rector’s pest/coding-style set. Needs the pest extension. Safe fix.
What it does
Converts consecutive indexed expect() calls to sequence()
Configuration
[lint.rules]
"pest/prefer-sequence" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
UseSequenceMatcher(pest-plugin-rector)