Using PHP Code Sniffer in PhpStorm

Click the "Preferences..." menu.

Expand the "Languages & Frameworks" menu, choose the "Code Sniffer" menu, then click the "..." button.

Enter your PHP Code Sniffer path, then click the "Validate" button.

Expand the "Editor" tab, choose the "Inspections" tab, check the "PHP Code Sniffer validation" checkbox, then click the "OK" button.

Open any PHP file to check.

1 comment:

  1. Thanks for this post. I found this very useful. Kanhasoft is a leading CodeIgniter Web Development Company India providing offshore services to foreign countries like USA, UK, Netherland, South Africa, Japan, Denmark, Canada and many more. Visit our site to know more about us.