-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preg_match() error after downgrade from PHP 7.3 to 7.2 #2884
Comments
The I don't build or maintain any IDE plugins, so this is likely something you'd need to report to whatever project does. But if you can replicate an issue using the |
PHP 7.3 switched to PCRE 2.0, so there is definitely a difference there. The short of it is that the regex engine has become stricter/less tolerant about incorrect regexes. |
In another project:
I will try and debug the plugin. |
I don't have the time to figure out how to find the executed command. But it seems forcing PSR2 standards when no It might be interesting to know why this breaks. |
I'm getting an error while running
phpcbf
(using a VSCode extension) on Windows 10 x64.I installed the package globally using composer with PHP 7.3. There were no problems. Then I downgraded PHP in my PATH to 7.2, after which I removed and re-installed the global package. Both removed and newly installed versions were
3.5.4
.Now whenever I save a file, which runs the fixer. I get these errors:
The text was updated successfully, but these errors were encountered: