Visual Studio Code: Unable to locate phpcs

后端 未结 15 1932
梦毁少年i
梦毁少年i 2021-02-01 01:56

I am facing this issue in Visual Studio Code. I have already tried reinstalling the phpcs extension but still facing this issue.

Unable to locat

15条回答
  •  醉话见心
    2021-02-01 02:17

    In my case and in Windows 10, composer located at:

    C:\Users\{user_name}\AppData\Roaming\Composer\vendor\bin\
    

    and when i added this to VSCode settings at PHP CodeSniffer section this solve my problem.

提交回复
热议问题