10up / wpcli-vulnerability-scanner

WP-CLI command for checking installed plugins and themes for vulnerabilities reported on wpvulndb.com
MIT License
278 stars 40 forks source link

Code sniffer issues #10

Closed ChrisWiegman closed 8 years ago

ChrisWiegman commented 8 years ago

Note: I'm running PHPCS against "WordPress" code standards for this ticket.

A number of items, such as the inline control statement on line 13 (if ( !defined( 'WP_CLI' ) ) return;) don't adhere to proper WordPress standards and should be cleaned up before making public.