admin管理员组文章数量:1122832
If I try to run phpcbf --version
vscode opens and shows
The editor could not be opened due to an unexpected error: Unable to resolve resource phar://c:/PHP_Tools/phpcbf/src/Config.php
(Sometimes it's not Config.php but Runner.php)
then hangs, if I CTRL C I also get
The editor could not be opened due to an unexpected error: Unable to resolve resource phar://c:/Program%20Files/PHP_Tools/phpcbf/src/Config.php
(I moved the folder from Program Files
, not sur why it's still there in the error)
Yesterday I found that .phar files were associated to VSCODE so I though maybe it was that, I deleted from regedit HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
and restarted, it worked but today it's failing again and the registry is still gone.
This happens with phpcbf
and phpcs
but not with phpmd
and phpstan
C:\PHP_Tools
本文标签:
phpCan39t run phpcbftries to open in vscodeStack Overflow
版权声明:本文标题:php - Can't run phpcbf, tries to open in vscode - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人,
转载请联系作者并注明出处:http://www.betaflare.com/web/1736305364a1932563.html,
本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论