Categories
Coding

How to enable PHP_CodeSniffer in PhpStorm

In a previous post, we learned how to use the tool PHP_CodeSniffer to accomplish with the WordPress and WooCommerce standards and make our code more readable, robust, and secure.

But executing a command in our terminal every time we want to check if the code we have written is correct can be quite tedious. Fortunately, we can integrate this tool with our favorite IDE and get assistance for the coding standards while we write our code.