ikappas / vscode-phpcs

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

phpcs: Cannot read property 'some' of null #143

Closed da-mask closed 5 years ago

da-mask commented 5 years ago

vscode : 1.32.3 phpcs --version PHP_CodeSniffer version 3.4.0 windows 10 pro phpcs extension 1.0.5

I get the above message when opening any php file in my project. What other information can I give you?

da-mask commented 5 years ago

The issue was a faulty setting of ignorePattern : null.