Running code sniffer with parameters
Hi,
In order to get my code to certain Coding standard I am required to run Code Sniffer with custom made standard. In order to run this standard, I need to pass code sniffer command line parameter (--extensions=php,phtml).
Is there a way to specify parameters for Code Sniffer in PHPStorm?
Thanks
Please sign in to leave a comment.
Hello,
You can create a scope with such extensions in File | Settings (or PhpStorm | Preferences for Mac) | Appearance & Behavior | Scopes and then run Inspect Code with that scope. Would that be suitable?