I want to add PHP CodeSniffer to VScode. Within VScode I am getting the error ‘phpcs: The phpcs report contains invalid json’ However when I run the following command in the terminal: phpcs –…
Tag: codesniffer
PHP codesniffer path to whole project
I`m new to this but i have installed composer and with it installed PHP Codesniffer. Now, how can i use php codesnifer to check for files in my entire project folder? My directory structure is something like this: If i try to run it will check the files inside of the functions files inside of the functions directory but i