lint/pest/prefer-to-be-url
In the coding-style set. Unsafe fix: it can change behaviour. Runs when pest is installed.
What it does
Converts filter_var($url, FILTER_VALIDATE_URL) checks to toBeUrl() matcher
Configuration
[lint.rules]
"pest/prefer-to-be-url" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
UseToBeUrl(pest-plugin-rector)