Feature: Check files in a WordPress install Scenario: Verify check description Given an empty directory When I run `wp doctor list --fields=name,description` Then STDOUT should be a table containing rows: | name | description | | file-eval | Checks files on the filesystem for regex pattern `eval\(.*base64_decode\(.*`. | Scenario: Check for use of eval(base64_decode()) in files Given a WP install When I run `wp doctor check file-eval` Then STDOUT should be a table containing rows: | name | status | message | | file-eval | success | All 'php' files passed check for 'eval\(.*base64_decode\(.*'. | Given a wp-content/plugins/exploited.php file: """