ObliviousHarmony / vscode-php-codesniffer

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

Clear Diagnostics on Configuration Changes #80

Closed ObliviousHarmony closed 11 months ago

ObliviousHarmony commented 11 months ago

All Submissions:

Changes proposed in this Pull Request:

Since the output might change as a result of configuration adjustments we should clear the diagnostics. This keeps us from displaying incorrect information.

Closes #72.

How to test the changes in this Pull Request:

  1. Open a project and create a diagnostic error.
  2. Break the configuration and observe clearing.
  3. Change the PHPCS file and observe clearing.