ikappas / vscode-phpcs

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

doesn't recognize ~ in paths #170

Open joachim-n opened 4 years ago

joachim-n commented 4 years ago

I entered this in the Composer JSON path setting:

~/Sites/my-project/composer.json

However, I get a message saying:

phpcs: Unable to locate phpcs. Command failed: "/Users/joachim/Sites/my-project/docroot/modules/custom/~/Sites/my-project/vendor/bin/phpcs"

where /Users/joachim/Sites/my-project/docroot/modules/custom is the absolute path to the project I have open in VSCode.