Please follow the above steps to setup PhpStorm with PHP CodeSniffer and WordPress Coding Standards.
- Open Preferences menu on PhpStorm from there find the Editor menu and navigate to Code Style > PHP
- Install composer globally if you don't have it installed already with the following commands.
- Check official documentation how to install composer on your machine here or follow the below steps if your on Linux,Unix or macOs
-
# This is the fastest way for Linux/Unix and macOs