vscode-phpcs icon indicating copy to clipboard operation
vscode-phpcs copied to clipboard

How to disable this check

Open camoltoni opened this issue 7 years ago • 1 comments

I want to disable the rule that manage this warning [hpcs] The $_POST super global must not be accessed directly; use Security::getRequestData('btnCancel', 'post') instead But I can't found the rule

camoltoni avatar Mar 21 '18 12:03 camoltoni

@camoltoni You can use "phpcs.showSources": true to view the particular sniff code and exclude it from your ruleset.

ikappas avatar Mar 22 '18 15:03 ikappas