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

Fixed PHPCS Configuration Filenames #67

Closed ObliviousHarmony closed 1 year ago

ObliviousHarmony commented 1 year ago

I made a mistake and the wrong files were listed!

All Submissions:

Changes proposed in this Pull Request:

Apparently I messed up when adding the filenames for the default PHPCS configuration files. This pull request fixes that mistake. I've also added appropriate errors for configuration errors.

Closes https://github.com/ObliviousHarmony/vscode-php-codesniffer/issues/55.

How to test the changes in this Pull Request:

  1. Make sure phpcs.xml.dist is picked up automatically.