benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
814 stars 126 forks source link

Ignore Argument not working #172

Closed chrisblackwell closed 7 years ago

chrisblackwell commented 7 years ago

I use snakecase for all my test method names, which is not part of PSR2. I have it set to ignore my tests directory, but PHPCS still seem to run on those files.

Here are my argument settings:

"phpcs_additional_args": {
    "--standard": "PSR2",
    "--ignore": "*/tests/*,*/database/*",
    "-n": ""
},
"phpcs_linter_run": true
benmatselby commented 7 years ago

@chrisblackwell Hi there, can you turn on the debug option and paste the output here when you run it. And can you then do the same in your normal terminal so we can see the difference?

benmatselby commented 7 years ago

Hi @chrisblackwell I'm going to close the ticket.. Feel free to add a comment with the output as mentioned above if you get chance. Thanks