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:

No comments:

Post a Comment