ikappas / vscode-phpcs

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

--standard=web/core/phpcs.xml.dist --runtime-set installed_paths vendor/drupal/coder/coder_sniffer #136

Open heddn opened 5 years ago

heddn commented 5 years ago

I can set the standard path to phpcs.xml. But there's no way to at runtime set the installed_paths. I have dozens of php projects and each of them are on different versions of phpcs and drupal rulesets. So I would like to set the installed_path at runtime. Similiar to how drupal core already does it inside of its composer.json: https://cgit.drupalcode.org/drupal/tree/composer.json#n57