ikappas / vscode-phpcs

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

phpcs:ignoreFile does not work #131

Open joeworkman opened 5 years ago

joeworkman commented 5 years ago

I thought that if I added the below comment into any PHP file, code sniffer would not process that particular file. This does not seem to be the case though.

// phpcs:ignoreFile

This is documented in the docs... https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage

I verified that I have phpcs v3.3.1 installed. And this syntax was supported in v3.2