Visual Studio Code: Unable to locate phpcs

后端 未结 15 1933
梦毁少年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:20

    open the project in the terminal and run this command

    composer global require squizlabs/php_codesniffer
    

    Hope that helps!

提交回复
热议问题