Using PHP Code Sniffer in PhpStorm

Click "Preferences..."

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

Enter your PHP Code Sniffer path, then click "Validate"

Expand "Editor", choose "Inspections", check "PHP Code Sinffer validation", click "OK"

Open any php file and 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.