-
-
Notifications
You must be signed in to change notification settings - Fork 519
Closed
Labels
Description
Automattic has a VIP Scanner tool which would greatly benefit from integrating PHP_CodeSniffer. From looking at the tool, the checks are implemented with regular expressions and so they'll be less powerful than PHPCS's sniffs which operate on tokenized streams.
The checks in the VIP Scanner should be ported over to PHPCS sniffs, then a fine-tuned ruleset (to opt-in/opt-out of the relevant rules) could be employed by the VIP Scanner. In effect, the scanner would become just be a wrapper for PHPCS.