ObliviousHarmony / vscode-php-codesniffer

A VS Code extension for integrating PHP_CodeSniffer.
https://marketplace.visualstudio.com/items?itemName=obliviousharmony.vscode-php-codesniffer
Other
38 stars 2 forks source link

Support Custom Vendor Directories #10

Closed ObliviousHarmony closed 3 years ago

ObliviousHarmony commented 3 years ago

All Submissions:

Changes proposed in this Pull Request:

As a follow-up to #8 this PR extends the search for PHPCS executables to the vendor-dir config key of the project's composer.json file.

How to test the changes in this Pull Request:

  1. Create a test project with a custom vendor-dir
  2. Verify that the extension uses the custom directory's executable