lint/pest/prefer-to-be-alpha
In the lint-strict preset. In Rector’s pest/coding-style set. Needs the pest extension. Unsafe fix: it can change behavior.
What it does
Converts ctype_alpha() checks to toBeAlpha() matcher
Configuration
[lint.rules]
"pest/prefer-to-be-alpha" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
UseToBeAlpha(pest-plugin-rector)