Visual Studio Code: Unable to locate phpcs

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

    paste the following in your terminal for system-wide installation

    composer global require squizlabs/php_codesniffer
    

    This stopped the error message from popping up in mine.

提交回复
热议问题