lint/style/no-ereg
In the modernize set. Unsafe fix: it can change behaviour.
What it does
Replace deprecated ereg regular expression functions with preg.
Configuration
[lint.rules]
"style/no-ereg" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
ereg_to_preg(php-cs-fixer, risky)