ikappas / vscode-phpcs

PHP CodeSniffer for Visual Studio Code
MIT License
128 stars 56 forks source link

Unable to locate PHPCS from nested directory #135

Closed shivapoudel closed 4 years ago

shivapoudel commented 5 years ago

In my VSCode workspace I have a complete WordPress setup although I have to work mostly on plugins. Below is the sample screenshot hope you understand my situation :)

capture

My question is if I am working on nested directory where composer.json, phpcs.xml and vendor directory is located then also it loads phpcs from globally installed path. Thus plugins wise phpcs installed sniffs are not in priority.

shivapoudel commented 4 years ago

Switch to another extension so closing this thread.